Hello, here we are going to focus on a common internal server error 500 in WordPress. If you are a WordPress user, then you must have had to face this problem occasionally. Debugging was not reported when this problem was on the server, although this problem was resolved in newer versions of WordPress. Now with notifications, the user also gets the message of troubleshooting.
In this post, we will learn about 4 main ways that you can get rid of Internal Server Error 500 on WordPress.
What is HTTP 500 server error?
It is a little easier for the technical user to know that this is a server-side error that is caused by us. In short, the server is unable to display the page to which we sent the request by the browser.
Possibilities of this problem
1. Unintentional changes to WordPress codebase by the user
2. Installing a broken plug-in or theme or due to updates in it
3. Corrupted .htacess file
4. Php memory limit
How to solve WordPress internal server error 500?
Due to not understanding the exact cause of this problem, it has more than one way which will help you to fix 500 Internal Server Error.
Method 1 – Fix corrupted .htacess file
The .htaccess file creates WordPress permalinks. If this file is corrupted, you encounter a 500 internal server error, so we will first check the problem to fix it.
Go to your FTP account where WordPress files are managed. Now rename the .htaccess file like .htaccess-2 or old and open the home page of your website in a new tab, if it opens without error, then congratulations you have knocked out this error.
Now go to Permalink from Settings and click on the save button without any change. By doing this you will get a new .htaccess file with proper rewrite rules.
On the other hand, if the problem still persists then continue reading this post.
Method 2 – Increase Memory limit of PHP
If you are going to go beyond your PHP memory limit, you can still face this problem, although the steps to increase it are quite different. But if you are facing an error while logging to the WordPress admin then follow these steps:
- Create a new file named php.ini. Now by typing: memory=64 MB
- Save the file.
- Use FTP detail and upload it to the / wp-admin / folder.
Note: If you are already logged in without any errors then paste this code at the end of your wp-config.php file.
define(‘WP_MEMORY_LIMIT’, ’64M’);
However, the problem cannot be completely cured except that there can be a reason. Therefore, if you cannot find the exact solution, contact the WordPress hosting company, and will help you to fix this problem on the server.
Method 3 – Use default theme
After using the above methods, if you are still getting 500 internal server error messages then set the default theme on your WordPress. Access your dashboard and go to the themes section and then change the theme to the default that comes with WordPress. If there is no dashboard or default theme, enter your FTP client. Go to the WP-Theme folder and change your current theme folder name with another name. By doing this, WordPress will be forced to download and install the default theme.
Method 4 – Deactivate all plugins
There is a lot of potential for a corrupted or broken plug-in that you have to face this error. So first remove the recently installed plug-ins. On the other hand, if you do not know which plug-in is causing 500 internal server error, then you will have to disable all WordPress plugins.
It is also observed that in such a problem the user is unable to access the dashboard. So if you can’t access the admin area, go to your FTP client and rename the plugins folder inside the wp-content folder. By doing this it will automatically disable all plugins in your WordPress.
Closing Word
The HTTP 500 internal server error in WordPress can be extremely frustrating for the user, but using the above methods will definitely overcome it. Mostly this error has been observed due to conflicts with third-party plugins, badly configured .htaccess files, and exceeding PHP memory limits. You can join the support team hosting WordPress for further assistance.
Read More: Windows Live Mail Error 0x800C013E