What is 500 Internal Server Error and How to Fix it?

If you visit your website and suddenly you see “500 Internal Server Error” message, it means that something went wrong with your WordPress website and it is not because of your browser, computer or internet connection. Happening. it 500 internal server error Happened on your website.

What is 500 Internal Server Error and what is its reason

500 Internal Server Error is a common error and it occurs when some unexpected things happen with your web server. (.htaccess being corrupt, due to plugin, PHP memory limit being met, WordPress core files getting corrupted) This happens due to which your server is not able to provide any information and instead of showing you a normal web page, it starts showing internal server error.

How To Fix 500 Internal Server Error

To fix internal server error in WordPress site, I am going to tell you some easy way here, with the help of which you will be able to easily fix 500 internal server error in your site.

So let’s start…

1. Re-create the .htaccess file

The .htaccess file is for the web server configuration in the WordPress site and is used to set the permalinks structure in WordPress. If you configure it and a small mistake happens then you may have to face internal server error.

To re-create or generate it, you have to login to the cPanel of your web hosting. Then file manager have to click on.

After that going to the root directory .htaccess file Find and rename it to something like ,.htaccess old file”.

Now login to your WordPress site and Settings >> Permalinks go to the section and without making any changes save changes Click on the button.

How to fix 500 Internal Server Error from WordPress site

WordPress automatically creates one for your site .htaccess file will create Now your site will start running again without any internal server error.

2. By Deactivating the Plugin

If your internal server error is not resolved even after creating the .htaccess file, then you will have to deactivate all the plugins from your site. Here is a guide – WordPress Plugin Ko Deactivate Kaise Kare (Different Ways)

To deactivate the plugin from your site, you have to go to the WordPress plugin section and then deactivate all the plugins.

If you are not able to access even your WordPress admin area, then you have to log in to your web hosting’s cPanel and then by going to the root directory, you will have to “wp-content” have to click on.

then inside it plugins Rename the folder as plugins_OLD as you can see in the screenshot,

How to fix 500 Internal Server Error from WordPress site

Now all the plugins will be deactivated from your site. If now your site is getting open then there was a WordPress plugin due to this 500 internal server error.

If you go to your WordPress plugin section then you will get error code “the plugin has been deactivated due to an error; plugin file does not exist” will get.

No need to worry, to fix this, log in to your web hosting cPanel again and rename the renamed plugins_OLD folder to plugins again.

Then, go to the WordPress dashboard and activate the plugins one by one.

3. Increasing the PHP memory limit

If your internal server error problem is still not solved, then you have to increase the PHP memory limit of your webhosting.

To increase the PHP memory limit, go to the cPanel of your webhosting. Then edit the wp-config.php file. now you /* That’s all, stop editing! Happy blogging. , Before the message you have to add the below code in it

define( ‘WP_MEMORY_LIMIT’, ’64M’ );

As you can see in the screenshot,

How to fix 500 Internal Server Error from WordPress site

If your PHP memory limit does not increase even after increasing the PHP memory limit, then you will have to contact your host.

4. Upload WordPress core files

If still the same issue is seen in your site, then you will have to upload a new WordPress core files for your site.

To upload core files of WordPress, use FTP instead of file manager.

To download the latest version of WordPress wordpress.org Visit on

After downloading, extract the ZIP file then wp-content folder And wp-config-sample.php delete the file.

After this upload it to your WordPress cPanel via FTP. Your FTP client will prompt for duplicate files, then you have to select the option of Overwrite duplicate files.

Any one of these points will definitely fix the internal server error on your WordPress site. And if you are unable to do so then you can contact your support team. Or you can hire a WordPress developer!

You should read this: