Go54 Blog

How to Fix 500 Internal Server Error in WordPress

500 internal server error

This error in WordPress is one of the most frustrating errors that occur. The error is not difficult to fix but it is usually not specific and may occur for different reasons, this is the reason why most people dread the error.

A 500 internal server error can present itself in different ways due to the various web servers, operating systems, and browsers. However, they are all communicating the same thing. Below are just a couple of the many different variations you might see on the web:

Why is my site loading 500 Internal server error?

The possible causes of this error are;

Before we proceed, we advise that you take a backup of your website before troubleshooting.

Ready to troubleshoot? Let’s get right into it!

1. Reload the Site

First thing you need to do when you encounter the error is to reload the site. It could be that the server is simply overloaded and the site will come right back. You could also confirm if the issue is unique to just you by pasting your website name on downforeveryoneorjustme.com.

The website will let you know if the site is truly down or the error is unique to just you. If the website tells you that your site is up, then you may have to clear your browser cache to remove all cached pages. Then try to visit the site again.

2. Check Your Error Log

Yes, we know the error could be caused by one or more issue but, the error log sometimes tells where the issue is coming from exactly. So, instead of troubleshooting blindly, error log helps to narrow down the issue most especially if it’s resulting from a plugin or theme.

The Error log located in the WordPress directory.

3. Exceeding the PHP memory limit

A 500 internal server error could also be caused by exhausting the PHP memory limit on your server. You could try increasing the limit to, let say 64MB. Follow the instructions below on how to change this limit in the cPanel;

4. Corrupted .htaccess file

The .htaccess file is likely to get corrupt when some changes are made to your website like installing a new plugin, theme, etc and thereby causing a 500 HTTP error.

To determine if there is an error within the .htaccess file you can disable it and create a new one. To do that, follow the steps below;

5. Plugin Conflict

Sometimes, 500 internal server error is caused by third-party plugins or theme. From slider plugins to “drag and drop” plugins, we’ve seen several of them cause this error.

To determine if it’s a plugin conflict. Don’t worry, the plugins data won’t be lost. By disabling the plugins, you are deactivating them so the code can stop running. You will have to log in to your server using an FTP client or log in directly to your cPanel.

6. Changing the Theme

If deactivating your plugins doesn’t fix the error, you should try changing the theme to a default theme, Twenty Seventeen.

So, here’s what you need to do – disable your active theme using FTP, to see if it’s the source of the error. Here are the steps you should follow:

If you can access your site without running into a 500 HTTP error, your theme was behind it. You’ll also notice your website probably looks different. That’s because deleting your theme’s folder forces WordPress to replace it with a default one.

Of course, we know you will want to get back your old theme. However, do have in mind that you may run into the error again. That being said, we recommend you re-download the theme from its provider and make sure you’re using the latest version.

If the issue persists, then you may have to use an alternative theme or contact the theme developer.

7. Corrupted WordPress core files

In rare occasions, 500 HTTP error is caused by corrupted core files. You could try the steps below after you have tried the solutions above;

Contact Your Host Provider

If after you have taken all the steps above and the issue persists, you may have to contact your web host for further assistance.

The error is so frustrating because it doesn’t always have a clear cause or a clear solution. It requires a lot of troubleshooting, as you’ve learned, but we hope these steps have at least made the task a little less irritating.

Have you ever encountered 500 HTTP error? How did you resolve it? Please share in the comment section!

Exit mobile version