5 Ways to Fix WordPress Internal Server Error – Easy & Quick

This is the most difficult & common WordPress error “Internal Server Error,” or sometimes “500 Internal Server Error”.

The error usually comes when there are something wrong, and the server is not able to identify where is the problem or error. The error message does not shows where you should check, So let’s talk about now how to fix it quickly.

1.Check .htaccess File

First of all, you should check .htaccess file when Internal server error appears. Login to your Cpanel and copy .htaccess file and rename .htaccess2 or anything just for keeping secure your main .htaccess file or you can also download it so if you do mistake so you can easily upload the old one. You can find .htaccess file in the same directory where you will see folders like wp-content, wp-admin, and wp-includes.

When you download the .htaccess file so try to read it or simply search in Google “WordPress .htaccess default file coding” you will have simple default coding just copy that and paste it and then save the file and upload it, If you are editing online then simply save it but make sure file name should be .htaccess nothing else even a simple extra word can disconnects it from connecting with WordPress.

OR

Simply go to Settings » Permalinks and click the save button. It will make a new .htaccess file with proper rewrite rules to ensure that your post pages do not return a 404 error.

You can try any step.

2.Increase PHP Memory Limit

Sometimes this type of error can happen if your PHP memory limit is too low.

PHP Memory set your website hosting provider. You can increase it manually, but keep in mind it can only go as high as the limit your host has placed on your hosting server. Shared hosting has very low limit but you can still increase a bit.

Create a blank text file and name it php.ini

Paste this code in there: define(‘WP_MEMORY_LIMIT’, ’64M’);

Save the file

Upload it into your /wp-admin/ folder using FTP

Delete the old one

Note: You can replace it like in the below screenshot.

If this method solves your internal server error problem then you don’t have to do anything more but you have to contact your hosting provider to increase the hosting server PHP memory limit properly.

3.Deactivate all Installed Plugins

Sometimes we install an outdated plugin without checking the last updated date, and that could be the reason because if a plugin can not connect to other plugin(s) and can not share data between each other so in most case you will get an internal error. In this case, you have to deactivate all plugins and check the website. If you are not able to log in so simply go to your CPanel and find “Plugins” folder and change the name of that folder and try to login to your WordPress dashboard and then disable all plugins and check your website if the site is running so the problem is because some of the plugin(s).

You will have to active one by one plugin and check all of that when you find the plugin which makes internal server issue so delete that plugin or contact to support center of that plugin.

4.ReUpload WordPress Core Files

If the plugin method did not fix the internal server error, So try to re-upload the wp-admin and wp-includes folder from a fresh WordPress setup which you can download from here. When you will download the zip file of WordPress setup so simply open it and find Wp-Admin and Wp-Includes folder like in the below screenshot and then go to your Cpanel delete the old one and upload new.

It won’t delete your theme or any of your website data so don’t worry 🙂

5.Contact Hosting Provider

If all of the above options didn’t work for you so contact to your hosting provider they will fix it.