Article
HTTP status codes and Google: what each one does
Short answer
Google treats status codes in families. A 2xx means the content can be considered for indexing, a 3xx sends Google to another URL, a 4xx (except 429) tells Google the content doesn’t exist, and a 5xx or 429 makes Google slow down (Google Search Central). Pick the wrong one and you can drop pages from the index or keep dead ones around.
Your server sends one of these numbers with every response. Visitors never see most of them. Googlebot reads every one.
The four families at a glance
| Family | What Google does | Search outcome |
|---|---|---|
| 2xx success | Passes the content on for processing (Google Search Central) | May be indexed, not guaranteed (Google Search Central) |
| 3xx redirect | Follows up to 10 hops by default (Google Search Central) | Target URL’s content is processed instead (Google Search Central) |
| 4xx client error | Ignores the content (Google Search Central) | Not indexed; indexed URLs are removed (Google Search Central) |
| 5xx and 429 | Temporarily slows crawling (Google Search Central) | Indexed URLs kept for a while, then dropped (Google Search Central) |
2xx: success, not a promise
Google says a 200 gets passed on to the indexing pipeline, which “may index the content, but that’s not guaranteed” (Google Search Central). So a 200 is the price of entry, not the ticket.
There’s a catch inside this family too. If a page returns 2xx but looks like an error, such as an empty page or an error message, Search Console will show a soft 404 (Google Search Central). Our read: a page that says the product wasn’t found but that returns 200 is the classic case. Return a real 404 instead.
A 204 means Google got no content and can’t process it (Google Search Central).
3xx: redirects
| Code | Google’s treatment |
|---|---|
| 301 and 308 | Strong signal the target should be processed (Google Search Central) |
| 302 and 307 | Weak signal the target should be processed (Google Search Central) |
| 304 Not Modified | Content is the same as last crawl; no effect on indexing beyond signals being recalculated (Google Search Central) |
Google says Googlebot generally follows 10 redirect hops for web content, but Google’s testing crawler (Google-InspectionTool) doesn’t follow redirects (Google Search Central). Content on the redirecting URL itself is ignored (Google Search Central).
Note
Note: Google treats 301 and 308 the same, and 302 and 307 the same, but asks you to use the code that matches what you mean so other clients like e-readers and other search engines benefit (Google Search Central).
4xx: gone, as far as Google is concerned
Google says all 4xx errors except 429 are treated the same way: the content doesn’t exist (Google Search Central). For Search, a previously indexed URL is removed, newly found 404 pages aren’t processed, and crawling of that URL gradually slows (Google Search Central).
That makes 404 and 410 the honest answers for pages that are gone. Our read: it also means a mistaken 403 or 401 on a page you want indexed has the same effect as deleting it.
Watch out
Watch out: Google says not to use 401 or 403 to limit crawl rate. Apart from 429, it says 4xx codes have no effect on crawl rate (Google Search Central).
429 and 5xx: slow down
Google treats 429 as a sign the server is overloaded, and counts it as a server error (Google Search Central). Both 429 and 5xx make its crawlers slow down (Google Search Central). Already indexed URLs stay in the index, but are “eventually dropped” (Google Search Central).
For a 500, Google says the crawl-rate drop is proportionate to how many URLs return server errors, and URLs that keep returning errors are removed from the index (Google Search Central). Once your server returns 2xx again, Google gradually increases crawling (Google Search Central).
Which code to send, by situation
- Page moved for good: 301 or 308 (Google Search Central).
- Page temporarily elsewhere: 302 or 307 (Google Search Central).
- Page deleted, no replacement: 404 or 410. Both are treated as content that doesn’t exist (Google Search Central).
- Product out of stock but coming back: keep it at 200 with a clear message. Our read: a 404 here would remove a page you want back.
- Site down for maintenance for an hour: 503. Google slows down and keeps indexed URLs for now (Google Search Central).
- Members-only page you don’t want indexed: 401 or 403 is fine. Google won’t index it (Google Search Central).
How to check your codes
Search Console flags 4xx and 5xx responses and failed redirects (Google Search Central). For one URL, use your browser’s developer tools (Network tab) or a command like curl -I https://example.com/page to see the status line. Our read: check templates, not single pages. A broken 404 template or a CDN rule usually affects hundreds of URLs at once.
Key takeaway
What to do next
Pick five URLs: your homepage, a live article, a deleted page, an old redirected URL and a made-up URL. Check the code each returns. The made-up one should say 404, not 200. If it says 200, you have a soft 404 problem across the whole site. Read how Be In GEO works for how we test our own site.
Get the worksheet
Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.
FAQ
Is 404 or 410 better for a deleted page?
Google treats all 4xx codes except 429 the same way, so either works (Google Search Central).
Does a 200 guarantee my page gets indexed?
No. Google says a 2xx status doesn’t guarantee indexing (Google Search Central).
How many redirects will Googlebot follow?
Up to 10 hops by default for general web content (Google Search Central).