Academy / SEO

SEO

HTTP status codes: what each one means for SEO

By Fernando BalcázarReviewed on 6 min read

The essentials

  • Every server response carries a three-digit code. It is the first thing a bot reads, before the content.
  • Only a 200 says “here is the page”. Everything else asks the bot to do something else.
  • A 404 or 410 drops the page from the index over time. So does a 5xx that lasts for days.
  • An error page that returns 200 confuses everyone: it is called a “soft 404”.

The families that matter

CodeWhat it saysWhat the search engine does
200Here is the pageReads it and may index it
301 / 308Moved for goodPasses the signals to the new address
302 / 307Somewhere else for nowKeeps indexing the original address
404Does not existStops showing it over time
410Gone and not coming backDrops it a bit faster than a 404
429Too many requestsSlows down and comes back later
500 / 502 / 503The server failedRetries; if it lasts, slows down, then deindexes

The “soft 404”

It happens when a page that does not exist returns 200 with a “not found” message, or when the site sends everything it cannot find to the home page. The search engine sees an empty or repeated page with a success code and does not know what to do. The right answer is a real 404, with a useful page that helps people keep browsing.

Maintenance without losing rankings

If the site will be down for a few hours, return 503 with a Retry-After header. The search engine understands it is temporary and comes back later. A 200 with a maintenance notice can replace your page in the index.

HTTP response · maintenance
HTTP/1.1 503 Service Unavailable
Retry-After: 3600

How to check it

  1. Audit the page: the auditor shows the code it returns and, if it redirects, every hop.
  2. In Search Console, the pages report groups unindexed pages by reason: 404, server error, redirect.
  3. If the auditor says the server did not let the page be read, it may be a firewall blocking bots: it does not count as a failure, but it is worth a look.

Check it

Check what your page returns

ToolURL auditor →