What is 500 Internal Server Error and how to fix it

Hello friends! Today in this article we are going to talk about What is 500 Internal Server Error in WordPress. And How to fix 500 Internal Server Error in WordPress Website. We will know all these things in detail to this article. So stay with this article to know in more detail.

Sometimes if you visit your website and suddenly you see 500 Internal Server Error message, it means that something has went wrong with your WordPress website. It is not because of your browser, your laptop, PC or your internet connection. This 500 internal server error has occurred only in your website.

What is the causes of 500 Internal Server Error

The 500 Internal Server Error is a common error and it happens when there are some unexpected things happening with your web server like corrupting the .htaccess, due to the plugin, PHP memory limit is reached, WordPress core files are corrupted. And your server does not provide any information and instead of showing you a normal website, it starts showing 500 Internal Server Error.


How to fix 500 Internal Server Error

I have told you some easy methods to fixed this Internal server error in your WordPress Website. With the help of this methods you will be easily fix 500 internal server error that suddenly came in your Website.

Step 1. Re-create the .htaccess file

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

You will re-create this file, to create this file you will have to login to your cPanal of web hosting. A dashboard is open in front of you click on file manager.

Now, Go to the root directory and find the .htaccess file and rename it to something like ".htaccess old file".

Now log in to your WordPress Dashboard and go to Settings >> Permalinks and here click on the Save Changes button without making any changes.

WordPress will automatically create an .htaccess file for your site. Now your site will start normally again without any internal server error.


Step 2. Plugin Deactivate

If your internal server error does not resolve even after creating .htaccess file, then you will have to Deactivate all the plugins from your site.

To deactivate the plugin from your WordPress Dashboard you have to click on Plugin section and then deactivate all the plugins.

If you are not able to access your WordPress admin Dashboard then you will login to your Web Hosting cPanel, and go to the root directory and click on "wp-content".

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

If you go to your Plugin section, you will see the error code "the plugin has been deactivated due to an error; plugin file does not exist".

Nothing to worry about. To fix this, again log into your web hosting cPanel and rename the renamed plugins_OLD folder to the plugin again.

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

Step 3. Increase the PHP memory limit

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

Go to the cPanel of your Web Hosting to increase the PHP memory limit. Then edit the wp-config.php file. Now / / you all, stop editing! Happy blogging. Before the * / message, you have to add the below code to it

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

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


Step 4. Upload WordPress core files

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

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

To download the latest version of WordPress, visit WordPress.org.

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

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

One of these points will definitely fix the internal server error on your WordPress site, and if you cannot, then you can contact your support team. Or hire a WordPress developer!

Post a Comment

Please do not enter any spam link in the comment box.