How to Fix the 500 Internal Server Error on WordPress Website

How to Fix the 500 Internal Server Error on WordPress Website

If you are surfing the web for a long time, you must see the ‘500 Internal Server Error’ on any site. It’s one of the most scariest problem for beginner in WordPress. But following some steps this error can be fixed easily. In this article I’m going to show you how to fix the 5oo Internal Server Error on your WordPresss site.

Why causes 500 Internal Server Error

There are many reason behind that can create 500 Internal Server Error on any WordPress site. Some of the problems are listed blow.

  • Insufficient PHP memory
  • Corrupted .htaccess file
  • PHP timeout
  • Permission error and
  • Conflict between Plugins

In some steps I’m going to show you how to fix this error. But before you start please take a backup of your site. You can see How to Clone WordPress to backup your site in single click.

Clean your Browser Cache and Cookies

First of all clear your browser cache and delete the cookies. Though 500 Internal Server Error doesn’t usually causes for browser caches and cookies but sometimes in a rare case it may happen.

Deactivate all Plugins

Now deactivate all your plugins from your WordPress Dashboard. You can deactivate all your WordPress plugin by bulk option. See how to manage a WordPress Plugin that may help you.


Bulk Deactivate Plugin


After deactivating all plugin hard refresh[Ctrl+F5] your site and if it loads properly then the error is within one of your plugin. Activate plugins one by one and detect the plugin causing the error. Then contact at the plugin support for the issue.

If this doesn’t solve your 500 Internal Server Error then follow the next step.

Increase the PHP memory limit

This problem mainly occur when you are using a shared hosting service for your site. In shared hosting service provider set a lower PHP memory limit. When your WordPress site exceeds the limits you face the internal server error. You can fix this adding a line into your wp-config.php file.

Simply go to your WordPress root directory and download the wp-config.php file. Add the lines below to that file and override the file with the existing one.

define('WP_MEMORY_LIMIT', '64M');

Now refresh your browser. If page loaded successfully then you were facing error with lower php memory. But, if this doesn’t work then remove the code from wp-config.php file.

Check File Permission

Check your file permission weather it is ok or not. Go to Cpanel and open your sites root directory with FTP client. And see the file permission weather is it 755 or 644. Any other value can cause the server error issue.


Rename htaccess file


Also you can rename your .htaccess file and refresh your browser. If it reload your site properly then you have done it. Save the settings form WordPress settings->Permalinks.

Upload the Core WordPress file

If above solution does’t work then re upload and override wp-admin and wp-includes folder to your core WordPress directory. This may help if there is problem lies files in those folder.

Contact Hosting Provider

If none of the above solution works for you then you need help from expert. Contact with your Hosting Provider in that case.

So these are the nearest possible ways to fix your 500 Internal Server Error on WordPress site. I hope you like this article. You may also like to read Fix Error Establishing a Database Connection in WordPress and  Fix WordPress Sesion Cookie Error. Like us on Facebook and follow on Twitter to get the latest updates.

Leave a Reply