HTTP 5XX errors tell us that a request or request to our server has failed, either because there are errors in the web page, in the server, or the proxy. Learn more about Error 500 below.

Let’s see why error 500 usually occurs, how you can locate it, and how to fix it. You’ll probably have come across it at some point (it’s even more frequent than error 502 or error 504.

Error 500 – Internal server error, is the most common HTTP status code, this means that an error has occurred when trying to access the server, but no more details can be given about what has happened. This type of error is also known as internal server error or HTTP error 500.

Although it is also possible that you see it as:

  1. 500 Internal Server Error
  2. HTTP 500 – Internal Server Error
  3. Temporary Error (500)
  4. Internal Server Error
  5. HTTP 500 Internal Error
  6. 500 Error
  7. HTTP Error 500
  8. Error 5xx

Why can an error 500 happen?

Usually, when this happens it is because there is some fault in the programming, or some change has been made in the template or theme of the website, and therefore it is important to take the precaution of making a backup.

Detecting 500 errors in the time to be able to correct it is the difference between maintaining the credibility of your buyers or general readers and the credibility of bots that index your content immediately, or losing positioning now! And overwhelm your indicators.

It can happen in cases where the plugin, module, or extension is trying to make use of functions that are prohibited for security reasons, such as the exec function.

Many causes could generate an error 500 Internal server error on your website, but if you don’t have a clue it won’t be easy to find the solution quickly.

How to locate the 500 internal server error?

If your web page gives a 5XX error, the first thing you should know is what the HTTP error code it is giving you means, and think if you have made any changes to your website that could have returned that error.

You can look up the exact number of the error in the standard 5XX error list, but note that some providers include custom 5XX errors (e.g. Cloudflare). This will give you a clue as to what’s wrong, but it doesn’t usually give you much information either.

If you’re not getting the error number or a blank screen appears, let’s see how we know what error our website is giving us and for that, we’ll need to access our hosting panel.

If you use cPanel, in the “Metrics” section you will find the option “Errors” where you will see a record with the last 300 errors (in reverse order) that have been on your website.

Fixing Error 500 when the site is not ours

It is possible that the error 500 may be due to a problem external to us or that we do not have control over it and the browser that alerts us with the internal error server message.

In this case, we have several ways to solve this HTTP error.

Reload the page: The first thing you should try is to reload the page with F5 or Ctrl + R.

Leave some time: Another solution could be to leave a margin of time to try to enter the page again, as there may be some server task that prevents you from entering the site at the moment.

Clear the browser cache: If you have logged in several times and the only thing that shows internal server 500 error for a long time, it is possible that you have the web cached in your browser, so try to enter incognito or delete the cache of your browser.

Cookies problem: Another reason may be caused by the cookies we save in the browser. Even if we delete the cache, we can still keep them. Please try to delete the cookies, close the browser, and then open it again.

These solutions to an HTTP error 500 are the most common since it is usually a momentary server error and is easily solved by reloading the browser.

Fixing Error 500 on our website

Although this type of HTTP error can occur for various reasons internally and therefore be resolved in different ways, we will present the most universal solutions to this situation.

Not having the necessary permissions. By not having the permissions to access a folder or file, the server restricts access.

PHP timeout. If the connection with some type of resource is over, the waiting time will result in an error 500. Therefore, a solution would be to execute the correct waiting times.

.htaccess. Another cause could be the Htaccess file. The solution could be to upload a copy of this file before the time of the problem.

If you don’t have this copy, the best way is to upload or regenerate a new .htaccess file, and always keep the specific rules in the previous file.

How to fix error 500 in WordPress?

The error is in the .htaccess
As commented above, if this is your case, you will have something wrong with that file that is producing that error. If you have a backup of your previous file, it is best to access your File Manager or your FTP client program and upload that copy to the public_html folder. This will rewrite the wrong file with the code from before the error.

If you don’t have a backup of this file, it’s best to delete it directly (if it’s too much for you, you can rename it). Remember that when you delete it, you will have to regenerate the .htaccess file manually or go to the Permanent Links section from your WordPress panel settings and save the changes (this will make it regenerate automatically).

The error is caused by a plugin
If an error occurs when installing the plug-in, it may be due to this reason. In order to solve this kind of error, if we know which plug-in caused the error, we should deactivate the plug-in, or deactivate all the plug-ins, and then activate them one by one to understand which is the culprit.

To deactivate them, access your File Manager from cPanel, or your FTP client program and locate the plugins folder in public_html/wp-content. If you want to deactivate all of them, you can rename the plugins folder with any other name, such as plugins-disabled or plugins-old. Now you can access your WordPress panel and activate them from there until you find the plugin that gives the error.

If you already know which Plugin gave you the error, it is best to remove it. If you have disabled it you should be able to access your WordPress panel and remove it directly from the Plugins section. If you can’t access it, you should do it through the File Manager, accessing the Plugins folder, finding the folder that has the name of that Plugin and removing it (or you can rename it if you don’t want to remove it directly), although this form of removal is not the most appropriate since it can leave residues.

Hope this article helps you to solve your HTTP Error 500. Remember that if you have any of our hosting plans, you can contact our support team to help you solve this problem. We will be happy to help you!

Start your website today!

Show your website to the world, and have new customers, readers, and more discover you.