SEO
HTTP status codes: what each one means for SEO
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
| Code | What it says | What the search engine does |
|---|---|---|
| 200 | Here is the page | Reads it and may index it |
| 301 / 308 | Moved for good | Passes the signals to the new address |
| 302 / 307 | Somewhere else for now | Keeps indexing the original address |
| 404 | Does not exist | Stops showing it over time |
| 410 | Gone and not coming back | Drops it a bit faster than a 404 |
| 429 | Too many requests | Slows down and comes back later |
| 500 / 502 / 503 | The server failed | Retries; 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/1.1 503 Service Unavailable Retry-After: 3600
How to check it
- Audit the page: the auditor shows the code it returns and, if it redirects, every hop.
- In Search Console, the pages report groups unindexed pages by reason: 404, server error, redirect.
- 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 →