Email Icon

5XX Server Errors for SEO

5XX errors often relate to server errors and can cause some major issues with SEO. We’ll run through how to identify, prevent and fix these types of errors as an SEO expert.
We all know that 5XX internal server errors are annoying and problematic. But what do they mean? How do you fix them? In this page I’ll help you through these issues and provide you with key learnings for managing and preventing 500 server errors.

Want a free audit?

Send me an email with your URL and I’ll spin up a top level SEO audit, free of charge. If you want a slightly more advanced one; just add me to your Google Search Console (email is the same). 

What I cover here

When 5XX server errors crop up, they can be problematic on many fronts; how do you fix them, why are they needing attention and what are they? When you are faced with these specific errors it tends to cross the dividing line from an SEO fixing this issue to a developer – I’ll touch on why this is the case on each of the points below. Although the information on this page is not designed to be diagnostics for developers, it can provide some support for Junior SEOs trying to get a handle on server errors. If your website is completely offline and displays errors around resolving hostnames, you may be having a DNS error issue.

Key questions when it comes to server errors for SEO.

How to identify a 500 Server Errors?

A 5XX error can often be shown in many different ways, ultimately you will see one of the following headers: 500 Internal Server Error, 502 Bad Gateway Error, 503 Service Unavailable Error or 504 Gateway Timeout. The display of these pages can vary from website to website but fundamentally will communicate the headers above in one way or another.

Does my site have a problem with 500 errors?

If you can’t see them when you are browsing a website, this doesn’t mean you are out of the woods. 500 Server Errors can be unpredictable and occur in clusters, one-off or site-wide. There are some key ways you can find out if your website is suffering from issues of 500 Server Errors.

1. If you go to Google Search Console > Coverage > Errors, this will showcase any recent errors found on the site in regards to 500 Server Errors.

2. If you stay in Google Search Console > Settings > Crawling > View Report, this will show you connectivity issues to the site also, indicating some trouble with the server, irrespective of the error.

3. These can also be picked up by crawling software such as SEMRush site audit, SiteBulb, Screaming Frog, AHrefs and even Bing Webmaster’s site audit tool. Most of these tools are utilised within my technical SEO audit service.

How do I fix 500 server errors?

If you have made a change on a website and the 500 server error has occurred, considering a rollback at this stage may be most viable. This is considering if you are losing revenue and a developer troubleshooting it wouldn’t be viable (or take too long). If you identify it as an issue without any easily identifiable reason, speak to a developer as soon as possible – these types of errors are often caused by server-sided problems, such as PHP, CHMOD access or out of date server-side code.

Common ways you can trigger 500 server errors as an SEO.

  1. Making changes to the htaccess file.
  2. Installing new plugin, form or script which triggers a timeout, php error or memory limit threshold.
  3. Changing CHMOD access via FTP, to a file or directory (or entire root).
  4. Removing ‘unnecessary code’ which was relied upon elsewhere.
  5. Updating plugins and themes to major new versions or toggling PHP version up or down.

Key learnings for 500 server errors.

  1. Keep a backup of the site that is suitable for the business – high traffic, high frequency backup, low traffic, once a day backup (usually).
  2. Alert the developers quicky – the longer 500 server errors are in place the longer it can harm your rankings, or annoy your customers.
  3. Create a process for key functionality or full site going offline, include developers or agency where required.
  4. Make website changes with intent, try and achieve something and don’t just go looking in source code, ad-hoc changes are often problematic.
  5. Don’t change code, access or key functionality without knowing what you are doing or are operating with a site you are comfortable breaking (Testing site, new site which is offline or WAMP environment for example).

Other considerations:

If you are running PPC, you can be wasting your budget by sending prospects to 500 error pages, don’t be afraid to turn off PPC if your site is offline, they likely cannot navigate and it’ll probably annoy your prospects if the error remains in place for a long time.

You can also keep track of 500 server errors through a server log, this logs all occurrences of 500 errors albeit it can provide a substantial amount of information. Some providers will allow you to upload the server log text file and it’ll audit this for you – I think Screaming Frog provided a similar service.

500 server errors are radically different than 4xx client-side errors, I’ve written a little bit more about them on my how to handle 4xx errors for SEO page.

I’d also recommend checking you are not creating any URL parameters which can cause an issue with the server – or cause a request which can time it out.

Need CMS specific SEO support?  I’ve got extensive experience working with the below CMS – view each service page to learn more. I’ve also include some additional links which may be useful for that particular CMS.

Would you like a free SEO audit? 

Enter your details in the form here and I’ll run a top level audit of your website, it shouldn’t take long and will give you some basic information on your site’s health. 

In addition to getting a free audit, if you are stuck on a particular problem, do feel free to reach out to me – I’m always happy to help fellow SEO experts answer any questions.