WordPress error 500 can be quite annoying as they do not provide much information about the error. It is not a specific WordPress Error. 500 error is an HTTP status code, this code returned by the server. When you type any URL in your browser’s address bar, it means you are asking your webserver to show a specific page. However, somehow if the server is unable to complete your request. It displays the error message ” internal server error, the server encountered an internal error or misconfiguration and was unable to complete your request“. It is tough to fix this error because it does not specify any specific cause.
An internal Server Error message displays the different way, but the meaning is the same. It depends upon the site. The different name or message are such as
- WordPress Error 500
- Internal server error
- http error 500 WordPress
- 500 internal server error WordPress
- internal server error WordPress
- 500 server error WordPress
It may be hard to fix this error because it can occur due to different reasons. However, some methods are useful to fix this error.
It is not an easy error to fix. It requires expertise and knowledge to fix this error.
What are the Causes and Fix of WordPress Internal Server Error 500
The WordPress error 500 or internal server error on WordPress can occur because of various reasons.
- WordPress Plugin Issue
- The corrupt .htaccess file may cause the problem
- PHP memory limit issue
- Damage WordPress core files
- Web Hosting failure
Currupt .htaccess File
To Check for corrupt .htaccess file, you need to access your web hosting root directory.
You can use FTP software to access your root directory files.
Just download and install Filezilla Client FTP software, Now open it type your FTP (hostname, username, passwords) credentials and click quick connect.
Locate the .htaccess file it most commonly it located in public_html folder and then right-click on this file to rename it, from “.htaccess to “.htacces_old“. After renaming the .htaccess file, check the site to check that you can access your website or not. If the issue has resolved, then it was .htaccess file causing problems.
After that, you need to set save your permalink settings, quickly login to your WordPress admin dashboard > settings>Permalinks > Check your permalink structure and select the radio button and click save changes.
t rewrites your .htaccess file. Make sure to check all of your page or post URL is working fine, and any of your page or post is not returning error 404 page not found. If your .htaccess file is not the solution, then please check next resolution.
Increase the PHP Memory Limit of WordPress
At times an http error 500 WordPress can happen if the PHP memory exhausted. Increasing the PHP memory can help in fixing this problem.
Follow the instructions below to increase the limit of the memory
- Create a file with the name php.ini
- Paste “memory=128MB” in the black file without the inverted commas
- Save the file
- Upload it in the /wp-admin/ folder using FTP
Also, Check how to How to increase the PHP memory limit in WordPress a step by step blog to fix the issue.
If the internal server error caused because of the php memory issue, then performing this step fixes the problem.
Increasing php memory limit is a temporary solution you must find the root cause of the error.
If increasing php memory limit does not fix the issue, then continue to next troubleshooting.
4. Re-Upload the Core Files
Re-uploading the wp-includes and the wp-admin folder from a new WordPress has also helped several users to solve the internal server error.
Note: “None of the information will be lost in this process“.
To upload WordPress core files, you need to download the latest version of WordPress.
Go to the website of WordPress.org and then click on download.
Its download a WordPress zip file in the Downloads of your computer. Then extract the zip file in the WordPress directory.
In the next step, connect your Hosting server using an FTP client (check above how to connect FTP)
as the connection successfully established, go to the root folder of the website. This folder looks for the wp-content folders, wp-admin, and wp-includes.
Next, open the WordPress folder on the computer. Select the wp-admin and wp-includes folders right-click and select Upload.
The FTP client transfers these folders to the server. It would like to overwrite the files. You must select “overwrite” to replace the wp-admin and wp-content folder to new WordPress core file folders.
The FTP client replaces the old WordPress files with new ones. If WordPress core files were corrupted, then only this step fix the WordPress error 500.
Deactivate All Plugins
The faulty plugin could be one of the reasons for WordPress Error 500 The only way to check if a plugin is causing the error is to deactivate all the WordPress plugins.
How to deactivate all plugins without login to your WordPress dashboard
- connect your cpanel by using an FTP client.
- go to wp-content > now you can see the Plugin directory
- Just rename the plugin folder “plugin_old” (it deactivates all of your plugins)
After reaming the Plugin folder. Please refresh the page, and if If the 500 internal server error WordPress is still prompting, then you should talk to your hosting service provider.
Contact Your Hosting Provider
If nothing seems to work for you, then you must get in touch with your WordPress hosting provider.
Most users have benefitted from the solutions mentioned above. You can also fix this error. If you have any suggestions or doubts, do ask in the comment section.