Internal server errors in WordPress are the worst (aka. http error 500), compared to other HTTP error codes and status codes.
The WordPress websites often encounters an error called 500 internal server error in wordpress. There are several potential causes.
- Exhausted PHP memory limit
- Corrupted plugin functions
- Corrupted theme functions
- Corrupted .htaccess
What Is the 500 Internal Server Error?
A fairly general HTTP status code, the 500 Internal Server Error indicates that something unexpected has happened on your website’s server. If you see this error message, there’s no need to panic. The problem, whatever it may be, is with your website’s servers, not your computer.
Here’s the catch though, the server can’t tell you what the exact problem is. It only shows the response code 500.
Solutions to 500 Internal Server Error
Solution #1. Increase the memory limit
Follow the same steps to increase the memory limit as mentioned in the previous step. The steps to increase memory limit can be found at HowToFix Blog.
Solution #2. Edit .htaccess file
Edit your .htaccess file, if a corrupted .htaccess file caused this problem. Open your .htaccess file from the FTP or file manager and rename it with .htaccess old. Refresh your website and see if the problem persists. If this fixes the problem, click on settings > permalinks and hit save changes to reset .htaccess.
Solution #3. Deactivate all the plugins
If changing your .htaccess file did not have any impact on the problem, you might want to check your plugins. Deactivate all your plugins by clicking on plugins ? installed plugins. Choose “deactivate” from the “bulk action” drop down and hit apply. It will automatically deactivate all your plugins. Now go to your website, refresh it and check if the error is gone. If so, activate your plugins one by one and see which plugin has caused the problem.
Solution #4. Replace wp-admin and wp-includes folders
If nothing worked, try replacing your wp-includes and wp-admin folders with fresh copies from a WordPress install. Save them and upload. Refresh the browser and see if the problem is resolved.
Naming Variants for 500 Internal Server Errors
There are actually quite a few names or phrases that can indicate you’re dealing with a 500 internal server error. Depending on your web server or the particular problem, you could receive any of the following variants:
- 500 Internal Server Error
- Internal Server Error
- Error 500
- HTTP Error 500
- HTTP Error 500 – Internal Server Error
- Temporary Error (500)