How to Fix 500 Internal Server Error in WordPress website

How to Fix 500 Internal Server Error in WordPress website

What does 500 Internal Server Error means –

Encountering any type of error on your website is frustrating but 500 Internal server error is worst of them as it doesn’t give any specific definition about the problem. 500 Internal server error means that there is something wrong with the server and it is not able to respond to the http request also it doesn’t have any particular information about the issue. Error message in case of Internal Server Error might be different on different CMS as server allows the website to show a customised message. WordPress mostly shows it in following format :

500 internal server error in wordpress

Possible Reasons & Solutions of 500 Internal Server Error –

  1. Migration of Website to new hosting – If you have recently migrated the website to a new hosting you might be facing this error.  This problem can be solved by re-saving the permalinks. Go to setting in the WordPress Admin panel and click on Permalinks. Once open just click on the save button at the bottom. Problem should be resolved.
  2. Migration of Website to new hosting – If you have recently migrated the website to a new domain you might be facing this error.  In this case there might be 2 possible reasons
    •    Domain name is not set properly in the database  – Go to the database and open wp_options table. Change the site_url and home_url field to the new domain
    •    Resetting the permalinks – Go and re-save the permalinks as done in the last point.
  3. It might jut be a temporary issue – Sometimes it is not a issue at all and resolves automatically. Just refresh your website after sometime and it might be working fine.
  4. It might be your browser’s cache which is not showing you the recent version – Clear the cache of your browser and retry.
  5. It can be a permission Error – This 500 internal server error may also happen due to incorrect permission on one or more files or folders. Most of the time some of the php or CGI files are left read only permission. This can be resolved by making the permission to these files as 7-7-7.
  6.  php timeout  – If a script on your website connects to an external resource and that resource doesn’t respond in time, a 500 internal error may occur. This can be resolved either by changing the timeout rules or by handling such errors more effectively in the scripts.
  7. Error in .htaccess –  It happens very rarely but still is possible. Recheck the code in you .htaccess file. .htaccess is a hidden file by default, you might need to change the setting of file manager to view this file.

If you like above article, please subscribe. We will keep you updated with our new Articles.

Leave your Feedback / Questions in Comments.

Leave a Reply

10 + fifteen =

Close Menu