Creative agency glossarySEO and Analytics

500 Internal Server Error

A 500 Internal Server Error is the HTTP status code a web server returns when it has failed to handle a request for a reason it cannot specify, and the page does not load.

What is a 500 Internal Server Error?

A 500 Internal Server Error is the web's most generic failure. When a browser or a crawler asks a server for a page, the server replies with a status code: 200 means here it is, 404 means it does not exist, 301 means it has moved. A 500 means something went wrong on the server's side and the server either cannot or will not say what. The visitor sees a blank page, a plain text error or, on a well run site, a designed error page that apologizes and offers a way back. The cause is on the server, not in the browser, which is why refreshing sometimes works and sometimes does not.

The causes are many. A bug in the site's code, a plugin or theme that has broken after an update, a database that has stopped responding, a server that has run out of memory, a misconfigured file, an expired certificate, a timeout from a slow external service or simply too much traffic for the hosting. The 500 is the catch-all for all of them, which is what makes it both common and frustrating: the code tells you that the site is broken, and nothing more.

Why it matters

Why a 500 Internal Server Error matters

Every minute a site returns 500 errors is a minute of lost visitors, lost sales and lost trust. A customer who lands on an error page during a launch rarely tries again, and a journalist who hits one while writing a story moves on. For a brand that has spent money sending people to a page, a 500 is the most expensive outcome possible: the media worked, the audience arrived and the site turned them away.

Search engines care too. Googlebot treats a 500 as a temporary signal at first and will retry, but a site that keeps returning errors is crawled less often and, if the errors persist, its pages begin to drop out of the index. A site that is down for an hour during a launch will usually recover its rankings; one that throws intermittent 500 errors for weeks is quietly losing visibility, often without anyone inside the company noticing, because the errors happen to crawlers and not to the people who check the homepage each morning.

In practice

How a 500 Internal Server Error works in practice

  1. 01

    The first job is to know it is happening. Uptime monitoring that checks the site every minute and alerts someone, plus Google Search Console's crawl reports and the hosting provider's own logs, are the minimum. The second is to find the cause. The server's error log usually names it: a PHP fatal error from a specific plugin, a database connection failure, a memory limit, a permissions problem. For a content management system such as WordPress the common fixes are familiar: disable the plugin that just updated, switch to a default theme, raise the memory limit, repair the database, restore the last working backup.

  2. 02

    The third is to communicate. A designed 500 page that matches the brand, explains that something went wrong and points to the homepage or a contact keeps a visitor from feeling that the company has vanished. During a longer outage, a status update on social channels does the same for the audience that cannot reach the site at all. Afterwards, the cause goes into a record, the monitoring is improved and, where the cause was an update, the deployment process gains a staging step.

Watch out

What people get wrong about 500 errors

Assuming it is the visitor's problem. A 500 is a server failure, and telling a customer to clear their cache is both wrong and insulting. The second mistake is not monitoring. Sites discover they have been returning errors for days when a client, a customer or a crawl report tells them, by which point the damage is done.

The third is updating in production. Most 500 errors on content management systems follow a plugin, theme or core update applied directly to the live site; a staging environment and a backup before every update prevent nearly all of them. The fourth is a default error page. The blank white screen, or the hosting provider's generic message, is the last thing a visitor sees of the brand, and it should at least look like the brand and say sorry.

Questions

People also ask

What is the difference between a 500 error and a 502 error?

A 500 means the server itself failed to handle the request. A 502 Bad Gateway means a server acting as an intermediary, such as a proxy or a load balancer, received a bad response from the server behind it. Both are server-side; the 502 points at the connection between two servers.

Does a 500 error hurt SEO?

A brief one, no. A persistent or recurring one, yes: search engines crawl error-prone sites less often and eventually drop pages that keep failing. Fix the cause quickly and the rankings usually recover.

How do you fix a 500 Internal Server Error?

Check the server error log for the specific cause, then act on it: disable a recently updated plugin or theme, raise memory limits, repair the database connection, fix file permissions or restore a backup. If the hosting provider's infrastructure is the cause, contact them.

Can a visitor fix a 500 error?

Not really. Refreshing the page or trying again later sometimes works if the failure was momentary, but the problem is on the server and only the site's owner or host can resolve it.

Next to it in the glossary

  1. 403 ForbiddenA 403 Forbidden error means the server understood the request but refuses to serve the page, usually because the visitor does not have permission to see it.
  2. 404 Not FoundA 404 Not Found error is the response a web server returns when a requested page does not exist, which harms search visibility and user trust unless it is handled with a redirect or a useful custom page.
  3. 410 GoneA 410 Gone status tells browsers and search engines that a page has been removed on purpose and is not coming back.
  4. 502 Bad GatewayA 502 Bad Gateway error means one server in the chain that delivers your site received an invalid response from another, so the page could not be served.
  5. A/B TestingA/B testing is a controlled experiment that shows two versions of an ad, a page or a message to similar audiences and measures which one performs better.
  6. Accelerated Mobile Pages (AMP)Accelerated Mobile Pages (AMP) is an open-source framework from Google for building stripped-down web pages that load almost instantly on phones.

Every SEO and Analytics term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage