Today we will talk about one of the most common WordPress errors that is called the 500 Internal Server Error. It is a very general HTTP status code that means something has gone wrong on the website’s server but the server could not be more specific on what the exact problem is. On this blog, we will discuss about how to easily fix internal server error in WordPress.
Causes of Internal Server Error in WordPress?
As we mentioned this error is not specific for WordPress. This error can happen with any website that is running on a web server. So the problem which is not specified cannot be solved instantly. Normally this error is often caused by plugin or theme functions. corrupted .htaccess file or PHP memory limit also can be the cause of this error.
Now let’s talk about how can we fix the 500 Internal Server Error!
1. Check the Corrupt .htaccess File
To fix the internal Server Error at first we have check for the corrupted .htaccess file. We can do that by renaming your main .htaccess file like .htaccess_old. To rename the .htaccess file we have to login to our site using FTP or File Manager app in our hosting account’s cPanel dashboard. Then the .htaccess file will be located in the same directory where we will see folders like wp-content, wp-admin, and wp-includes. After renaming the .htaccess file we have to try visiting our site to see if this solved the problem or not. This trick can be useful for you.
2. Increase the PHP Memory Limit
Sometimes internal server error may happen if you are running out your PHP memory limit. If you are seeing the internal server error only when we try to login to our WordPress admin or uploading an image in your wp-admin then we should increase the memory limit.
To increase memory limit first of all we have to Create a blank text file called php.ini then Paste this code in there: memory=64MB. Save the file and upload it into our /wp-admin/ folder using FTP. If this trick works then congratulations to us! We fixed the problem temporarily. We still have to find pout the reason for running out our memory limit. We have to contact our web hosting provider to look into the server logs to help you find the exact diagnostics.
3. Deactivate all the plugins
This Internal Server Error might happen for a specific plugin. This is also possible that it is a combination of plugins that are not matching up each other. there is no easy way to find out this. Directly you have top deactivate all the plugins if you want to counter this problem. If disabling all plugins fixes this error then you would know it is one of the plugins that is causing the error. Go to the WordPress admin area and click on ‘Plugins’. Reactivate one plugin at a time until you find the one that caused the issue. Get rid of that plugin, and report the error to the plugin author or company.
On this blog, we have tried to give you the best ideas about How to Fix the 500 Internal Server Error in WordPress. We hope you have liked this blog. If you have liked this blog please feel free to share it with your dearest ones 🙂