# HTTP Status Codes for SEO: A Practical Guide

> How Google treats 200, 301, 302, 404, 410, 429, and 503 responses, plus soft 404s, redirect chains, and how to audit status codes across a whole site.

Source: https://ranklocaltoday.com/blog/http-status-codes-seo-guide  
Last updated: 2026-10-06

Technical SEO

# HTTP Status Codes for SEO: What Google Does With Each One

A practical guide to 301 vs 302, 404 vs 410, soft 404s, 429 and 503, redirect chains, and auditing status codes at scale.

By **RankLocalToday** Updated Oct 6, 2026 13 min read

For: Local business owners, marketers, and developers who maintain service-business websites

**10** Redirect hops Googlebot follows before erroring

**301 / 308** Permanent redirects that signal the new canonical

**404 ≈ 410** Treated nearly the same for removal

**429 / 503 / 5xx** Slow the crawl and risk URL drops if prolonged

Every URL on your site answers a crawler with a three-digit number before it says anything else, and Google makes real decisions from that number: whether to index the page, which URL to treat as canonical, how fast to keep crawling, and when to forget a page entirely. Most local-business sites never look at these numbers until a redesign or a platform migration goes wrong and a service page that ranked for years quietly vanishes.

This guide covers the status codes that actually change SEO outcomes, how Google documents its handling of each, and where common advice ("always use 301", "410 is faster than 404") is half right. It ends with a quick-reference table, a method for auditing codes across thousands of URLs, and the mistakes we see most often on service-business sites.

**Best use case:** Google's handling of status codes is documented but evolves, so verify edge cases against Search Central and your own logs before large changes.

## How Google reads a status code

Googlebot asks three questions of every response. Is there content to evaluate? Does this URL point somewhere else? Is the server healthy enough to keep crawling at the current rate? Each family of codes answers one of them.

- **2xx** means there is content, and the page is eligible for indexing, subject to quality, canonical, and noindex signals.
- **3xx** means the content lives elsewhere. The code type (permanent or temporary) tells Google which URL to prefer in the index.
- **4xx** means the request failed on the client side. Google treats these as "no content," and an indexed URL that starts returning one is dropped. 429 is the exception and behaves like a server error.
- **5xx** means the server failed. Google backs off and retries instead of dropping the URL immediately.

Two details trip people up. First, Google reads the status code before it reads the page. A beautiful page served with a 404 is a 404, and a blank error screen served with a 200 is a candidate for indexing (more on that under soft 404s). Second, the status code is a property of the URL as Googlebot requests it, not of what a visitor sees after JavaScript runs. A single-page app that renders "page not found" client-side after returning 200 is telling Google the page exists.

The healthy baseline is simple. Every URL you want ranked returns 200 directly, with no redirect in front of it. If a request carries conditional headers and nothing has changed, a 304 is also fine: Googlebot supports ETag with If-None-Match and Last-Modified with If-Modified-Since, and a 304 tells it to reuse its stored copy. That saves crawl budget on large sites and costs nothing in rankings. It matters mostly on large sites with thousands of location pages.

## Redirects: 301, 302, 307, and 308

Redirects are where status codes touch ranking equity directly, so precision matters here more than anywhere else in this guide.

**301 and 308 are permanent.** They tell Google the old URL has been replaced. Google treats a permanent redirect as a strong signal that the destination should be the canonical URL, and it has stated for years that 3xx redirects do not lose PageRank the way they once did. The difference between the two is HTTP method handling: 308 guarantees the request method is preserved (a POST stays a POST), while 301 historically allowed clients to switch to GET. For ordinary page-to-page moves you will never see a ranking difference. Use 301 as the default and 308 when an application or API genuinely needs method preservation.

**302 and 307 are temporary.** They tell Google to keep the original URL in the index and treat the destination as a stand-in. 307 is the method-preserving counterpart of 302.

The nuance people miss is that Google does not apply this mechanically. Google has said that a temporary redirect left in place for a long time can eventually be interpreted as permanent, and that over time it may pick the destination as canonical. Do not rely on that. If the move is permanent, say so with the code. A 302 left on a retired location page for two years means you are asking Google to guess.

A practical decision rule:

- Domain change, HTTP to HTTPS, www to non-www, URL structure change, merged pages: 301 (or 308).
- A/B test, geo or language splash routing, seasonal swap where the original returns in days or weeks: 302 (or 307).
- Out-of-stock or discontinued with a close replacement: 301 to the replacement, or 404 or 410 if nothing relevant exists.

Redirect to something relevant. Mass-redirecting dead URLs to the homepage is a classic trap: Google can treat irrelevant redirects as soft 404s, so you get the cost of a redirect without the equity transfer. If a retired "emergency furnace repair in Tempe" page has no equivalent, a clean 410 beats a redirect to the home page. Google flags that pattern as a soft 404 in Search Console, and our guide to [soft 404 errors and how to fix them](https://ranklocaltoday.com/blog/soft-404-detection-and-fixes) shows how to confirm and resolve it.

## Redirect chains, loops, and migration hygiene

A chain happens when URL A redirects to B, which redirects to C. Chains usually form by accretion: a 2019 move from /services/ to /what-we-do/, a 2022 HTTPS migration, a 2024 CMS replatform, each adding a hop on top of the last. Google follows up to 10 redirect hops in a single crawl attempt, after which Search Console reports a redirect error. Long before that limit, chains slow users, waste crawl requests, and add failure points.

A loop is worse: A sends to B and B sends back to A, or a rule rewrites a URL into itself. The server keeps answering 301 forever, browsers show "too many redirects," and Googlebot gives up. Loops almost always come from conflicting rules, such as a CDN forcing HTTPS while the origin forces HTTP, or a trailing-slash rule fighting a plugin that strips slashes.

The standard fix is flattening: after any migration, every legacy URL should redirect once, directly to the final live URL. Keep a redirect map and update old rows when a destination changes, instead of stacking a new rule on top.

For local businesses, the migration moments that matter are rebrands, domain changes, and location consolidation. If you merge two city pages into a single service-area page, 301 each old URL to the new one, update internal links and your Google Business Profile website link to the final URL, and keep the redirects live for at least a year. Google has historically recommended keeping site-move redirects for at least a year; keep them indefinitely for URLs with backlinks.

## 404 vs 410, and the soft 404 problem

When content is gone for good, two codes compete: 404 (Not Found) and 410 (Gone). Google's documentation treats all 4xx errors except 429 the same way: the URL has no content, so it is not indexed, and one already indexed is removed. Google has said it handles 404 and 410 almost identically, and any difference in how quickly a URL drops out is small.

So the practical advice is this: use 410 when you deliberately removed something and want to say so clearly, because it is an accurate statement and may speed the removal marginally. Use 404 when a page is simply not there, including typos and random URLs from scrapers. Do not spend engineering time converting thousands of 404s to 410s expecting a ranking lift. Google has long said that 404s on URLs that should not exist are not a quality problem in themselves. A 404 on a URL that should exist, especially one with backlinks or traffic, is the one worth fixing, usually with a 301 to the closest equivalent.

**Soft 404s** are the real hazard. A soft 404 is a URL that returns 200 (or a redirect) but whose content tells the visitor the page does not exist, or has essentially no content. Google detects these and reports them as "Soft 404" in the Page indexing report, then excludes them from the index. Typical sources:

- A custom "page not found" template that is accidentally served with 200.
- Empty city or category pages generated from templates, with no listings or copy.
- Expired offers or events that now say "this promotion has ended" with a 200 status.
- Dead URLs mass-redirected to the homepage.

The fix is to make the status honest. If the page is gone, return 404 or 410. If it has an equivalent, 301 to it. If it should exist but is thin, add real content or consolidate. You can test a suspect URL with the URL Inspection tool and by running a plain request: if the headers say 200 and the body says "not found," you have found one.

## 429, 503, and 5xx: when the server pushes back

Server-side codes tell Google to slow down, and in extended cases, to give up on a URL. Google's crawling documentation groups 500, 503, and 429 together: when Googlebot sees them it reduces its crawl rate for the site. Already-indexed URLs generally stay in the index for a while, but if the errors persist for days, the affected URLs start to drop out.

**503 for planned maintenance.** This is the correct signal. A 503 says "temporarily unavailable, come back," and Google treats it as exactly that. Return it from the maintenance page itself, not a 200 with a "we'll be back soon" message, which can get indexed and replace your real content in results. Add a Retry-After header with a realistic time. Google does not promise to honor it, but other clients and monitoring tools do. Keep it short: a day or two is generally tolerated, but a week or more risks URLs dropping out.

**429 for rate limiting.** Google treats 429 as a server-error-class signal and slows crawling. That makes it a legitimate tool when a bot storm is overwhelming a small host, but a dangerous one when a WAF or security plugin rate-limits Googlebot itself. If your logs show verified Googlebot requests getting 429s, you are throttling your own indexing. Allowlist Googlebot by verified IP range or reverse DNS, not by user-agent string alone, since the user agent is trivially spoofed.

**500, 502, 504.** These are unplanned failures: application crashes, upstream timeouts, exhausted database connections on shared hosting. A brief burst does little. A recurring pattern does, because Google lowers its crawl rate and recovers slowly. Treat repeated 5xx on key pages as an incident.

One special case is robots.txt. If robots.txt returns a 5xx, Google can pause crawling the site for a period instead of assuming everything is allowed, and it falls back to a cached copy if one exists. A server that fails only on /robots.txt (a bad rewrite rule is a typical cause) can quietly stall crawling of the entire site. Monitor that file's status separately. Our guide to [advanced robots.txt directives](https://ranklocaltoday.com/blog/robots-txt-advanced-directives) covers how to write and test the file so that it never becomes the cause of a crawl problem.

## Quick-reference table

```
Code Meaning Google's treatment Use it for
---- -------------------- ------------------------------------------ ------------------------
200 OK Eligible for indexing Every page you want ranked
301 Moved permanently Strong canonical signal for destination Migrations, merges, rebrands
302 Found (temporary) Keeps original indexed, for now Short-lived or test routing
304 Not modified Reuses stored copy, saves crawl Conditional (ETag) requests
307 Temporary redirect Same as 302, method preserved Temporary, app-level moves
308 Permanent redirect Same as 301, method preserved Permanent, method-sensitive
404 Not found No content; indexed URL is dropped Missing or never-existed URLs
410 Gone Same as 404, slightly clearer intent Deliberate permanent removal
429 Too many requests Treated like a server error; slows crawl Rate limiting abusive bots
503 Service unavailable Slows crawl, retries; temporary Planned maintenance
5xx Server error Slows crawl; persistent errors drop URLs Never on purpose
```

Read the table as defaults, not laws. Canonical tags, internal links, and sitemaps still weigh in, so correct codes mostly stop you from contradicting yourself.

## Auditing status codes at scale

You cannot eyeball status codes past a few dozen URLs. A usable audit combines three sources, because each sees something the others miss.

**1. A crawl.** Run a crawler such as Screaming Frog or Sitebulb from a list that includes your sitemap URLs, internal links, and known legacy URLs from analytics and backlink exports. Export the response codes report, then filter for: any 3xx among internal links (links should point to final URLs), redirect chains and loops, 4xx among internal links, and 200 pages with suspicious titles such as "Not Found."

**2. Server logs.** A crawl shows what a crawler could reach; logs show what Googlebot actually requested and what it received. Filter to verified Googlebot and group by status code and by directory. Spikes of 5xx in a time window, 429s against Googlebot, and heavy crawling of redirected or 404 URLs are the findings you cannot get anywhere else. If a quarter of Googlebot's hits land on redirect or error URLs, your crawl budget is being spent on dead weight.

**3. Search Console.** The Page indexing report lists Google's own classifications: Not found (404), Soft 404, Server error (5xx), Redirect error, and Page with redirect. Use its sample URLs to validate fixes.

For spot checks, curl shows the full redirect path without a browser's caching getting in the way:

```
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/old-page
curl -sI https://example.com/robots.txt | head -n 1
curl -sI -H "If-None-Match: \"abc123\"" https://example.com/ | head -n 1
```

The first follows redirects and prints the final status and URL (add -v or drop -o to see each hop). The second confirms robots.txt is healthy. The third tests whether your server returns 304 for conditional requests. Browsers cache 301s aggressively, so test redirects with curl or a private window after changing rules.

Prioritize by impact: 5xx or 429 served to Googlebot first, then ranking or linked URLs returning 404, then chains over two hops, then soft 404s. If you want a first pass without setting up a crawler, our [website SEO audit](https://ranklocaltoday.com/website-seo-audit) flags redirect and error problems in one report.

## Common mistakes

- **Serving errors with a 200.** Custom 404 pages, empty search results, and maintenance notices that return 200 create soft 404s and can displace good pages in the index.
- **Redirecting everything to the homepage.** Irrelevant redirects can be treated as soft 404s, and visitors lose the context they came for. Redirect to the closest equivalent or return 410.
- **Leaving 302s where 301s belong.** After a migration, a default "temporary" redirect rule makes Google hesitate over which URL to index. Audit the code, not just the destination.
- **Pointing internal links at redirecting URLs.** Redirects exist for outside links and bookmarks; your own navigation, sitemap, and canonical tags should reference final 200 URLs.
- **Rate-limiting Googlebot.** Security plugins and WAF rules that return 429 or 403 to crawlers throttle indexing. Verify Googlebot by reverse DNS and allowlist it.

For local businesses the fix list is usually short: one consistent URL structure, one-hop redirects for retired pages, honest 404s for junk, and a server that stays up when Googlebot visits. If you are planning a larger cleanup alongside content and listing work, the [local SEO plan](https://ranklocaltoday.com/local-seo-plan) shows where technical fixes like these sit in the order of work.

## FAQ

### Is a 301 or 302 redirect better for SEO?

Use a 301 when a move is permanent, because it tells Google to index the destination and treat it as canonical. Use a 302 only for genuinely temporary situations such as tests or short-term swaps. Google can eventually treat a long-lived 302 as permanent, but that is a guess you should not ask it to make.

### Should I use 404 or 410 for deleted pages?

Either works. Google handles 404 and 410 almost identically, so removed URLs drop from the index in both cases, and any speed difference is small. Use 410 when removal is deliberate and permanent, 404 for everything else, and 301 to a close equivalent when one exists and the old URL has links or traffic.

### What is a soft 404 and why does it matter?

A soft 404 is a page that returns a 200 status but shows a not-found message or almost no content. Google flags these in Search Console and excludes them from the index. Fix them by returning a real 404 or 410, redirecting to a relevant replacement, or adding genuine content to thin pages.

### Is a 503 safe for site maintenance?

Yes, a 503 is the correct response for short planned downtime. Googlebot treats it as temporary, slows crawling, and retries. Add a Retry-After header, return the 503 from the actual maintenance page rather than a 200, and keep the outage brief, since days of continuous errors can eventually cause URLs to drop.

### How many redirects in a chain is too many?

Googlebot follows up to 10 hops per attempt, but you should aim for one. Every extra hop slows users, uses crawl requests, and adds a failure point. After any migration, flatten legacy URLs so each redirects directly to its final destination, and update internal links to skip redirects entirely.

### Turn this into a practical SEO action plan

Use RankLocalToday tools to check rankings, diagnose website issues, and prioritize the next organic traffic move.

[Get your SEO plan →](https://ranklocaltoday.com/local-seo-plan)

More in this topic: [Website SEO, all 208 guides →](https://ranklocaltoday.com/blog/local-website-seo-guides)
