Home » WordPress Tutorials » Basics » How to Fix WordPress HTTP Error 500

How to Fix WordPress HTTP Error 500

When you learn the basics of WordPress and how to build a website, you will eventually encounter various technical errors.

For example, you can stumble upon 404 Page Not Found and 503 Server Unavailable, or even something more frightening like There Has Been a Critical Error on This Website.

Regardless of the error, it all comes down to two major types of issues – problems deriving from the client-side and problems with the server-side of the Internet communication.

An issue coming from the server-side is also HTTP Error 500. In fact, error 500 is one of the most frustrating server-side problems that you might encounter.

However, there are many solutions to the problem and in the following paragraphs, you will read how to deal with the annoying message.


How to Fix WordPress HTTP Error 500

WordPress displays HTTP Error 500 in the case of an issue with the server that hosts your website. Usually, this issue appears somewhere in the root directory of your site.

However, the tricky part with HTTP 500 is that you can never be sure what exactly causes the problem. The good news is that there are numerous solutions that should fix the problem.

Before getting technical, you can try some quick fixes such as clearing the cache and reloading the web page.

Also, it is advisable to backup your site before proceeding with the next steps.

In the following paragraphs, you will read how to fix Error 500 via:


Update the .htaccess File

Sometimes the .htaccess file can become corrupted and make WordPress display the Error 500 message. To fix the issue, first, enter your ZETTAHOST Hosting Panel:

ZETTAHOST host panel


Once there, locate the File Manager icon and click it. Then open the folder with the name of your website:

ZETTAHOST hosting panel file manager icon


WordPress Website Root Directory


Inside the folder, locate the .htaccess file:

WordPress Website .htaccess File


Now, rename the file. To do so, right-click it and select Rename:

WordPress Website .htaccess File Rename


For this example, we will rename the file to .htaccess_rename. However, you can rename it however you wish:

WordPress Website Root Folder File Rename


Now, try to open your website. If the web pages can load, then you’ve managed to resolve the issue.

If this is the case, there’s only one more step you should make – open your WordPress admin panel and go to Settings->Permalinks and click the save button at the bottom of the page without making any changes:

WordPress Admin Panel Permalink Settings


By doing so, WordPress will generate a new .htaccess file and you will avoid dealing with various 404 Errors across your website. Also, by doing this, it won’t be needed to change the structure of permalinks for all your pages.

If the renaming of the .htaccess file doesn’t fix the 500 Error, then proceed with the next solution.


Increase the PHP Memory Limit

It is possible that WordPress displays an Error message because the system has reached the PHP memory limit.

If this is the case, then you should increase the memory limit by adding a single string of code.

To do so, via the ZETTAHOST hosting panel, go to your site’s root folder and find the wp-config.php file and open it:

WordPress Website Root Folder Files


WordPress Website wp-config File


Then, add this string of code:

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

WordPress Website wp-config File Code


Then, save the file and try to open your website. If your browser opens it, then you’ve managed to fix the issue.

If not, proceed with the next solution.


Deactivate All Installed Plugins

The root of the issue might be a corrupt plugin file. To find out whether this is the case, via the ZETTAHOST hosting panel go to your site folder and then to wp-content. There you will find your plugins folder:

WordPress Plugins Folder


Now, similarly to the .htaccess file, you should rename the folder. Right-click on it and select Rename. Then choose a name to your liking:

WordPress Rename Plugins Folder


WordPress Renamed Plugins Folder


The idea is that WordPress will still search for the “Plugins/” folder and when it cannot find it, it won’t incorporate any plugins that are stored there. This means that the platform will run without plugins for now.

This trick is very handy because it will immediately show whether any activated plugin prompts the error message.

Now, after you’ve renamed the Plugins directory, try to open your website. If you can, then some of the installed plugins are corrupted and prompt WordPress to display the error message.

In this case, rename your Plugins folder back to its original name and open it. Inside are the folders of all your installed plugins. To filter the corrupt one, deactivate each plugin individually just as you did with the Plugins folder, and try running your website.

Once you stumble upon the problematic one, the site won’t open and the HTTP Error message will be displayed.

Now, delete this plugin.

After that, you should be able to open your site without a problem.

However, if you tried deactivating and activating all your plugins and you still receive the HTTP Error message, then proceed with the next step.


Reinstall WordPress Core

If nothing else has managed to fix the issue, then it is time to reinstall WordPress.

The process is fairly simple. You download WordPress core on your computer and upload the files to your root directory, so they replace any corrupted ones there.

Read how to reinstall WordPress step by step.



Although building a website is exciting, sometimes stumbling upon technical issues is inevitable. There are many errors that can ruin the browsing experience of your visitors, however, there are fixes to all of them.

HTTP Error 500 is pretty common and luckily, there are numerous ways you can fix it, all requiring no more than minutes.

Being a server-side issue, HTTP Error means that there’s something wrong with the server your website is hosted on. If you wish to avoid such problems, then you should subscribe to a reliable and trustworthy hosting company that can ensure your site’s smooth performance at all times.

ZETTAHOST is such a company – with our services you ensure secure and reliable hosting, intuitive control panel, and 24/7 tech support.

Read more about our services, contact us for more details and launch your website today!


Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

10 Best WordPress Themes for Gutenberg

If you craft your WordPress website by using Gutenberg, then it is likely that you have thought about working with a block editor-compatible theme. If that is the case, then you should know that there are numerous WordPress themes that are meant to be a perfect fit...

How to Copy a Page with WordPress Gutenberg Editor

Looking for ways to copy your WordPress web pages? The Gutenberg block editor got you covered. In this article, you will read about 3 different methods you can instantly apply when crafting your WordPress website.   How to Copy a Page with WordPress Gutenberg...

How to Add Tabs to Your WordPress Site with Gutenberg

Tabs are quite useful in numerous situations and can be a fresh addition to your WordPress websites. Massively used to showcase content categories, news, and various other types of posts in a very structured manner, tabs contribute to making your site content more...

How to Create Tables in WordPress Using Gutenberg Editor

Creating a table in WordPress with the Gutenberg Block Editor is a straightforward task. Should you need to add one or several tables to your pages, the following paragraphs explain how to do so.   How to Create Tables in WordPress using Gutenberg Editor  ...

5 Best WordPress Slider Plugins for Gutenberg

When crafting your WordPress website, it is not only important to publish informative and well-structured content, but it is also crucial to make your web pages as aesthetically appealing as possible. An effective way of making your site more beautiful is by inserting...

Ready to Create Your Website?