Are you getting 500 WordPress internal server error? This type of error is the most common type of error faced by WordPress users.

Sometimes the situation gets worse because it doesn’t give any clue why this error occurred. Read this article, and you will be able to solve this error quickly.

Note – Before giving try to these fixes I highly recommend you to backup your website data just to be on safe side if anything goes wrong. Creating daily backups for your website is a good habit.

Causes of Internal Server Error

This type of error is not specific to WordPress platform. It can happen to any website running on a different platform. This type of error is often caused by a theme or plugin function.

Some other causes are corrupted .htaccess file and PHP memory limit. In some cases, this error occurs only when you try to reach the WordPress admin area.

Check for .htaccess file

Checking for a corrupt .htaccess file is the best way to troubleshoot internal server error in WordPress. You have to rename your .htaccess file to something like .htaccess_new. In order to rename .htaccess file login to your site Control Panel dashboard.

Note – Before you move on to other things, go to Settings>>Permalinks in WordPress dashboard and click on Save button. By doing this a new .htaccess file will generate with proper rewrite rule which means that your pages and posts will not return 404 error.

Increase PHP memory limit

In some cases, internal server error in WordPress occurs due to PHP memory limit. Read this tutorial on how to Increase PHP memory limit in WordPress to fix this issue.

If you are getting error specifically when logging into WordPress admin area or uploading an image to wp-admin then you should increase PHP memory limit by following the steps below –
1. First, create a blank text file and named it php.ini
2. Paste this code there – memory=64MB
3. Then save file.
4. Then upload file to /wp-admin/folder via FTP.

The steps showed above for fixing error works in very few cases and are caused by a poorly coded theme or plugin. If an error still continues I suggest you contact your Hosting Provider/Web Hosting company.

Deactivate all Plugins.

This fix is most likely to work for you. In some cases, plugins are not working properly. Sadly there is no way to find out which plugin is causing the problem. You have to deactivate all plugins at once. Follow the steps in this guide on how to deactivate all WordPress plugins without wp-admin.

After deactivating all plugins install them by one by one and figure out which plugin is causing the problem. Delete the plugin which is causing the problem.

Reupload core files

If deactivating all plugins doesn’t fix the problem then you should re-upload wp-includes and wp-admin folder from new WordPress install. Don’t worry this will not remove any of your data. First, visit and download the WordPress zip file. A zip file will be downloaded on your computer. Extract the zip file and find WordPress folder inside it.

Then connect your WordPress website using FTP client. When connected go to the root folder of the website. In this folder, you will find wp-includes, wp-admin, wp-content folders.

Open the WordPress folder in the left column on your computer. Then select wp-admin and wp-include folder and upload it by right-clicking on it.

FTP client will transfer those folders to your server. Click on Overwrite option and always use this section and click OK. Your WordPress files are now replaced by newer files by FTP client.

If all the methods that we discussed above fail for you it’s time for contacting your web hosting provider. Contact their support team and ask them to check server logs and find a root cause of the error.

I hope this article helped you in fixing internal server error in WordPress.

Pin It on Pinterest