Every time a browser or crawler requests a URL, the server answers with a status code before it sends anything else. The code tells Googlebot what to do next: index the content, follow a redirect, keep the old copy, drop the page, or come back later. Getting the code wrong is one of the most common technical SEO problems we find, because the page can look fine to a visitor while telling Google something completely different.
The first digit gives the class: 2xx success, 3xx redirection, 4xx client error (the URL is wrong or gone), 5xx server error (the server failed).
The codes that matter for SEO
| Code | Meaning | What Google does | Use it when |
|---|---|---|---|
| 200 OK | The page loaded | Passes the content on for indexing (not guaranteed) | The page exists and should be shown |
| 301 Moved Permanently | Moved for good | Follows it; a strong signal the new URL should be canonical | A page has a new permanent address |
| 302 Found | Moved for now | Follows it; a weak signal the target should be canonical | A short-term move, such as a seasonal page |
| 304 Not Modified | Unchanged since last crawl | Keeps the copy it has | Your server supports conditional requests (most do) |
| 404 Not Found | Not here | Drops the URL from the index; crawls it less over time | A page is gone with no good replacement |
| 410 Gone | Removed on purpose | Treated the same as 404 | Same as 404; fine to use, no SEO advantage |
| 500 Internal Server Error | The server broke | Slows crawling; URLs that keep failing are dropped | Never on purpose. Fix the cause |
| 503 Service Unavailable | Temporarily down | Same as 500: slows crawling, drops URLs if it lasts | Planned maintenance, for a short time |
These behaviors come from Google’s page on how HTTP status codes affect Google Search. Google also treats 429 Too Many Requests as a server error, a sign the server is overloaded.
Worked examples
- Coastline Plumbing renames a service page from
/drain-cleaning-services/to/drain-cleaning/. The old URL should return a 301 redirect to the new one, and internal links should be updated to point straight at the new address. - Bean & Barrel Coffee discontinues a blend. If there’s a close replacement, 301 the old product to it. If there isn’t, let it return a 404. Redirecting every dead product to the homepage can be treated as a soft 404 anyway.
- The store goes down for a two-hour migration. Serve a 503 with a short maintenance message. A 200 maintenance page, repeated across every URL, risks Google indexing “We’ll be back soon” in place of the real pages.
Codes that lie
The most damaging problems are pages whose code does not match what they show:
- A “page not found” message served with a 200. That is a soft 404, and Google flags it in the Page indexing report.
- A login wall or error page served with a 200 to Googlebot.
- A 302 used for a permanent move. Google reads a 302 as a weak signal, so the old URL can stay in results longer than you want. A 301 says what you mean from the start.
How to check
- Paste any URL into the free Redirect Checker to see each hop and its status code.
- In Search Console, URL Inspection shows how Google last fetched a page, and the Page indexing report groups URLs by reasons such as “Not found (404)”, “Server error (5xx)” and “Page with redirect”.
- RankThat’s Site Audit crawls the whole site and lists pages returning 4xx and 5xx errors, redirect chains, and missing pages that return 200.