What is an HTTP status code?
Every time a browser or crawler requests an address, the server first answers with a status code. The first digit shows the category:
- 2xx: the request was successful.
- 3xx: in most cases the address redirects to another one.
- 4xx: the error lies with the request, for example because the page does not exist.
- 5xx: the error lies with the server.
Visitors only see the code when there is an error. Search engines evaluate it on every fetch and decide on that basis whether a page stays in the index.
200 and the redirects 301, 302, 307 and 308
200 (OK) is the normal case: the page is delivered. Google passes the content on to the next processing step. This does not guarantee indexing.
With redirects, the type matters:
- 301 and 308 (permanent): the address has moved for good. According to its own documentation, Google treats this as a strong signal that the target is the authoritative address. This is the right choice for a relaunch.
- 302 and 307 (temporary): the address redirects only for a time. Google treats this as a weak signal and usually keeps the original address in the index.
Google follows up to ten redirects in a row. But every hop costs loading time, so a redirect should point straight to the destination.
Our article on the 301 redirect explains how to set one up and what matters during a relaunch.
404 and 410: page not found or removed
404 (Not Found) means there is no page at the address. 410 (Gone) states explicitly that the page has been removed permanently. According to its documentation, Google treats both codes the same: addresses that are already indexed are removed from the index, and neither code affects the crawl rate. In practice, we still see a difference. Addresses returning 410 usually drop out of the index faster, while Google often requests addresses returning 404 again months later. If a page is meant to disappear for good, 410 is therefore the clearer answer.
A 404 is not an error to be avoided at all costs. If content is dropped without replacement, 404 or 410 is the honest answer. It becomes a problem when pages with rankings, visitors or backlinks return a 404, for example after a relaunch. Then a 301 redirect to the matching new page is needed. Read more in our article Typical errors in a website relaunch.
Soft 404: when the error page says “OK”
Google calls it a soft 404 when a page returns status code 200, or redirects to one that does, but its content looks like an error page. Typical triggers:
- The system’s error page answers with 200 instead of 404.
- Many old addresses are redirected wholesale to the homepage.
- Category or search result pages are empty.
Google does not include such pages in the index and reports them in Google Search Console. The solution is an honest status code: 404 or 410 for content that has been dropped, and a 301 redirect only where there is a suitable destination.
403, 429 and the server errors 500, 503 and 504
- 403 (Forbidden): access is not allowed. If a firewall returns this code to crawlers, Google treats the page as non-existent.
- 429 (Too Many Requests): the server reports too many requests. Google treats this like a server error and crawls more slowly.
- 500 (Internal Server Error): a general error on the server.
- 503 (Service Unavailable): the server is temporarily unavailable. This is the right code for maintenance work.
- 504 (Gateway Timeout): a gateway or proxy server did not receive a response in time from the server behind it, often because of overload.
With server errors, Google slows down crawling. Pages already indexed stay in the index at first but drop out if the error persists. A short outage does no harm; errors lasting for days do.
Checking status codes
For individual addresses, the browser’s developer tools or URL Inspection in Search Console are enough. For many addresses at once, such as all old URLs after a relaunch, our HTTP status code checker is suitable. It also shows redirect chains. The page indexing report in Search Console shows which pages Google fetched with errors.
