# HTTP Status Codes for SEO: 404 vs 410, Soft 404s, 5xx and 429

> Send 200 for working pages, 301 or 308 for permanent moves, 404 or 410 for removed pages, and 503 or 429 only for short outages. Google doesn't index 4xx URLs other than 429, slows crawling on 5xx and 429 responses, and drops URLs that keep failing. A soft 404 is an error page that wrongly returns 200.

- Canonical URL: https://backlnk.com/blog/http-status-codes-seo
- Byline: Miguel Santiago
- First published: 2026-11-27
- Topics: Technical SEO
- Evidence: external research (cited); editorial interpretation

Which status code to send for removed, moved, broken or overloaded pages, how Google treats 404, 410, soft 404s, 5xx and 429, and how to audit the codes your site returns.

The HTTP status code tells a search engine what happened to a URL before it looks at the content. Send 200 for pages that work, 301 or 308 for permanent moves, 404 or 410 for pages that are gone, and 503 or 429 only for short outages or overload. Google doesn't index URLs that return a 4xx code other than 429, slows its crawling when it sees 5xx or 429 responses, and drops URLs that keep failing. A soft 404 is an error page that wrongly returns 200.

This guide covers how Google treats each class of status code, which code to send in common situations, soft 404s, server errors and rate limiting, maintenance windows, robots.txt, and how to check the codes your pages return. It is desk research from Google's crawling and Search Console documentation, Bing's Webmaster Guidelines and the HTTP and robots.txt standards (RFC 9110 and RFC 9309), read in November 2026. Examples use example.com and are illustrative.

**Key takeaways**

- A 2xx code lets Google consider the content for indexing, but 200 doesn't guarantee that the page gets indexed.
- Google treats 404 and 410 the same way: the URL isn't indexed, indexed URLs are removed, and crawling of the URL slows over time.
- A soft 404 is a "not found" or empty page that returns 200. Return a real 404 or 410, redirect to a true replacement, or fix what made a good page look empty.
- Many 5xx or 429 responses slow Google's crawling of the whole hostname. Use them only for hours to 1–2 days, or URLs can drop out of the index.
- Keep robots.txt answering 200 (or 404 if you have no rules) during maintenance. Google says a 503 for robots.txt blocks all crawling.

## How do search engines treat each HTTP status code?

The status code decides what Google does with a URL's content. Google's page on [how HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) (last updated February 4, 2026) describes each class:

| Code class | Examples | What Google does |
| --- | --- | --- |
| 2xx success | 200, 201, 202, 204 | Considers the content for indexing. A 204 delivers no content, so there is nothing to process. |
| 3xx redirection | 301, 308, 302, 307, 304 | Follows up to 10 redirect hops and processes the target. 301 and 308 are a strong signal for the target; 302 and 307 a weak one. 304 means unchanged since the last crawl. |
| 4xx client error (except 429) | 400, 401, 403, 404, 410 | Doesn't use the content, doesn't index the URL, and removes it from the index if it was indexed. |
| 429 and 5xx | 429, 500, 502, 503 | Treats them as server errors: crawling slows down, and URLs that keep failing are eventually dropped. |

Source: Google Crawling Infrastructure documentation, read 2026-11-27.

A 200 makes indexing possible but doesn't promise it. Google states that "For Google Search, an HTTP 2xx (success) status code doesn't guarantee indexing." If a 200 page looks like an error or is empty, Google reports it as a soft 404 instead (covered below).

For redirects, Google says it treats 301 and 308 the same way, and 302 and 307 the same way, but adds that "they're semantically different." Use the code that matches the move so other clients, such as other search engines, can benefit from it. Our guide to [301 vs 302 redirects](https://backlnk.com/blog/301-vs-302-redirects) covers that choice in detail. For a whole domain or URL-structure move, our [site migration checklist](https://backlnk.com/blog/site-migration-seo) covers the URL map, the redirects and the checks after launch.

## Which status code should a page return?

Pick the code that describes the page's real state. This decision table combines Google's documented behavior for each code with the HTTP definitions in [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html):

| Situation | Status code to send | What Google does |
| --- | --- | --- |
| The page works | 200 | Passes the content to indexing; indexing isn't guaranteed |
| The page moved for good | 301 or 308 to the new URL | Strong signal that the target should be processed |
| The page moved for a while | 302 or 307 | Weak signal that the target should be processed |
| The page was removed and has no replacement | 404 or 410 | Removes it from the index and crawls it less and less |
| The page was removed but a clear replacement exists | 301 to the replacement | Processes the replacement instead |
| The content needs a login | 401 or 403 | Treats it like other 4xx codes: not indexed |
| The server is overloaded right now | 503 or 429, for hours to 1–2 days | Slows crawling of the hostname; URLs may be dropped if it lasts for days |
| Planned maintenance of a few hours | 503 with a Retry-After header | Same as above; titles, descriptions and structured data can't be refreshed meanwhile |
| The site is closed for longer than a couple of days | 200 on a placeholder home page | Keeps an indexable page for people searching for you |
| Nothing changed since the last crawl | 304 (in reply to a conditional request) | No effect on indexing |

Sources: Google Crawling Infrastructure and Search Central documentation; RFC 9110. Read 2026-11-27.

Two rules follow: the first is Google's, the second is our reading of its advice. First, don't use 4xx codes to slow crawlers: Google says "The 4xx status codes, except 429, have no effect on crawl rate." Second, don't redirect every removed page to the home page. Google's advice for removed pages is to return 404 or 410 "If you removed the page and there's no replacement page on your site with similar content," and to redirect only when the page "has moved or has a clear replacement on your site."

## Is there a difference between 404 and 410 for SEO?

Not for Google. Its documentation says "All 4xx errors, except 429, are treated the same." In both cases, "the indexing pipeline removes the URL from the index if it was previously indexed," and "The crawling frequency gradually decreases." If a page should stay live but out of the index, use noindex instead; our [robots meta tag guide](https://backlnk.com/blog/robots-meta-tag) explains it.

The difference is in the HTTP standard. RFC 9110 defines 410 as a condition that "is likely to be permanent" and says that a 404 "does not indicate whether this lack of representation is temporary or permanent." It also notes that "It is not necessary to mark all permanently unavailable resources as 'gone'." So 410 is the more precise code when you know a page is gone for good, and 404 is the code to use when you don't know.

Either way, Google may keep checking the URL for a while. The Page indexing report help says "there is no way to tell Googlebot to permanently forget a URL, although it will crawl it less and less often." Google's crawl budget guide puts it this way: "a 404 status code is a strong signal not to crawl that URL again."

[Bing's Webmaster Guidelines](https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a) give the same instruction for deleted content: "Return a 404 status code." Bing also suggests updating deleted URLs through IndexNow, which our guide to [IndexNow](https://backlnk.com/blog/indexnow) explains.

404s in your reports are not automatically a problem. Google's [Crawl Stats report help](https://support.google.com/webmasters/answer/9679690) says "It's not possible, worthwhile, or even desirable to fix all 404 errors on your site," and that often 404 is the correct response when a page is truly gone without a replacement.

## What is a soft 404 and how do you fix it?

A soft 404 is a page that tells the visitor it doesn't exist but returns a 200 status code. Google's [crawling troubleshooting guide](https://developers.google.com/search/docs/crawling-indexing/troubleshoot-crawling-errors) defines it as "a URL that returns a page telling the user that the page does not exist and also a 200 (success) status code," and adds that it can also be "a page with no main content or empty page." Google states that "Such pages are excluded from Search" and lists them as "Soft 404" in the [Page indexing report](https://support.google.com/webmasters/answer/7440203).

Google names typical causes: "A missing server-side include file," "A broken connection to the database," "An empty internal search result page," and "An unloaded or otherwise missing JavaScript file."

### Soft 404 checklist

Work through these checks for each URL that the Page indexing report lists as a soft 404:

1. **Is the content really gone?** If there is no replacement, make the server return 404 or 410. A custom "not found" page is fine for visitors, as long as the status code is still 404.
2. **Is there a clear replacement?** Return a 301 to that page. We don't count a generic page such as the home page as a clear replacement.
3. **Is it a real page that looks empty to Google?** Run a live test in [URL Inspection](https://support.google.com/webmasters/answer/9012289) and look at the screenshot and the returned code. Google says a good page flagged as a soft 404 likely "didn't load properly for Googlebot, it was missing critical resources, or it displayed a prominent error message during rendering."
4. **Are resources blocked or failing?** Google lists "blocked resources (blocked by robots.txt), having too many resources on a page, various server errors, or slow loading or very large resources" as reasons resources can't load.
5. **Is it a single-page app?** With client-side routing, the server often can't send a 404. Google's [JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics) give two options: "Use a JavaScript redirect to a URL for which the server responds with a 404 HTTP status code," or add a `noindex` robots meta tag to error pages with JavaScript. Our [JavaScript SEO guide](https://backlnk.com/blog/javascript-seo) covers rendering in more depth.

Soft 404s also cost crawling. Google's [crawl budget guide](https://developers.google.com/crawling/docs/crawl-budget) warns that "soft 404 pages will continue to be crawled, and waste your budget."

## What happens when your server returns 5xx or 429 errors?

Google slows down. Its documentation says "5xx and 429 server errors prompt Google's crawlers to temporarily slow down with crawling." Already indexed URLs "are preserved in the index, but eventually dropped," and Google's indexing pipeline "removes from the index URLs that persistently return a server error." Once the server answers with 2xx again, "Google gradually increases the crawl rate for the site."

How long is too long? Google's emergency advice is to return 503 or 429 temporarily and notes that "Googlebot will retry these URLs for about 2 days." It also warns that "returning 503 or 429 for more than 2 days will cause Google to drop those URLs from the index." The page on [reducing the Google crawl rate](https://developers.google.com/crawling/docs/crawlers-fetchers/reduce-crawl-rate) gives the same window: a short period, "for example, a couple of hours, or 1-2 days."

The slowdown is not limited to the failing pages. When Google sees many 500, 503 or 429 responses, it "reduces your site's crawl rate across the whole hostname (for example, subdomain.example.com), including both the URLs that return errors and the URLs that return content." The crawl budget guide adds that the crawl capacity limit "goes down and Google crawls less" when a site answers with server errors or rate-limiting signals. Our guide to [crawl budget](https://backlnk.com/blog/crawl-budget) explains how that limit works.

Network and DNS failures count too. Google's page on [network and DNS errors](https://developers.google.com/crawling/docs/troubleshooting/dns-network-errors) says "Google treats network timeouts, connection reset, and DNS errors similarly to 5xx server errors," and that unreachable indexed URLs "will be removed from Google's index within days."

### Use 429 or 503 to slow crawlers, not 403 or 404

If a crawler overloads your server, answer with 429 or 503. In a February 2023 post, [Don't use 403s or 404s for rate limiting](https://developers.google.com/search/blog/2023/02/dont-404-my-yum), Google explained that 429 "is a clear signal to any well-behaved robot, including our beloved Googlebot, that it needs to slow down," while "All 4xx HTTP status codes (again, except 429) will cause your content to be removed from Google Search." This matters for CDN and firewall rules that block bots: a 403 for Googlebot doesn't slow it down, but it does remove the content.

## How do you take a site down for maintenance without hurting search?

Return 503 with a `Retry-After` header for the pages, keep robots.txt answering 200, and keep the window short. RFC 9110 defines 503 as a server "currently unable to handle the request due to a temporary overload or scheduled maintenance," and says that `Retry-After` "can be either an HTTP-date or a number of seconds." Google documents both forms for its crawlers.

An illustrative response during a short maintenance window on example.com:

```
HTTP/1.1 503 Service Unavailable
Retry-After: Sat, 28 Nov 2026 06:00:00 GMT
Content-Type: text/html; charset=utf-8
```

Google's page on [pausing or disabling a website](https://developers.google.com/search/docs/crawling-indexing/pause-online-business) sets out the rest of the pattern:

- **Keep it to 1–2 days.** "If you need to urgently disable the site for 1-2 days, then return an informational error page with a 503 HTTP response status code instead of all content."
- **Don't send 503 for robots.txt.** "Don't return a 503 HTTP response status code for the robots.txt file because this blocks all crawling."
- **Keep the error page light.** Google suggests a `Retry-After` header "with a best effort date or duration," static HTML, inline CSS, few external resources, and telling users when the site should be back.
- **Don't use other codes or tags to close the site.** "Don't block the website by returning 403, 404, 410 HTTP status codes, or with a noindex robots meta tag or x-robots-tag HTTP header. This will remove the website's URLs from Google Search."
- **For longer closures, serve a page.** If you need to disable the site for a longer time, Google suggests "an indexable home page as a placeholder for users to find in Search by using the 200 HTTP status code."

Expect stale snippets meanwhile. Google warns that "it's not possible for Google's systems to refresh titles, descriptions, metadata, or structured data included on a website if a page returns a 503 HTTP response status code."

Check the response yourself before you rely on it. Google's example uses curl:

```
curl -I -X GET "https://www.example.com/"
```

## Which status code should robots.txt return?

Return 200 with the file, or 404 if you have no rules. The status code of robots.txt changes how crawlers read your whole site. This table puts [Google's robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec) next to the standard, [RFC 9309](https://www.rfc-editor.org/rfc/rfc9309.html):

| robots.txt response | What Google does | What RFC 9309 says |
| --- | --- | --- |
| 2xx | Processes the file as provided | Crawlers must follow the parseable rules |
| 3xx | Follows at least five hops, then treats it as a 404 | Crawlers should follow at least five redirects |
| 4xx (Google: except 429) | Acts as if no robots.txt exists: no crawl restrictions | Crawlers may access any resources |
| 5xx | Stops crawling for 12 hours, then uses the last good copy for up to 30 days | Crawlers must assume complete disallow |

Sources: Google Crawling Infrastructure documentation and RFC 9309, read 2026-11-27.

Google's rule for server errors in detail: "For the first 12 hours, Google stops crawling the site but keeps trying to fetch the robots.txt file. If Google can't fetch a new version, for the next 30 days Google will use the last good version, while still trying to fetch a new version." If Google has no cached copy, the same page says it "assumes there's no crawl restrictions." That is the detail behind Google's shorter warning, quoted in the maintenance section, that a 503 for robots.txt "blocks all crawling": crawling stops first, and what happens next depends on whether Google has a good copy. After 30 days, if the site is otherwise available, Google behaves as if there is no robots.txt; if the site has general availability problems, it stops crawling. RFC 9309 states the general rule: "If the robots.txt file is unreachable due to server or network errors, this means the robots.txt file is undefined and the crawler MUST assume complete disallow."

The practical consequences:

- **A 404 for robots.txt is fine** when you have no rules. The Crawl Stats report help calls it "a good response."
- **A 403 or 401 for robots.txt removes your rules.** Google treats it like a missing file, so everything becomes crawlable. Google's rate-limiting post warns that if you serve robots.txt "with a 4xx HTTP status code, it will be treated as if it didn't exist."
- **A 5xx for robots.txt pauses crawling.** Fix it first when your server has problems.

Which crawlers to allow or block is a separate question. Our guide to [blocking AI crawlers in robots.txt](https://backlnk.com/blog/block-ai-crawlers-robots-txt) covers the rules themselves.

## How do you check the status codes your pages return?

Check the status code the server actually sends, which the page itself doesn't show (your browser's developer tools or curl do). A step-by-step audit:

1. **List the URLs that matter.** Start with pages you removed or moved, URLs flagged in the Page indexing report (Soft 404, Not found (404), Server error (5xx)), and the URLs in your sitemap. Our guide to [XML sitemap best practices](https://backlnk.com/blog/xml-sitemap-best-practices) covers which URLs belong in a sitemap.
2. **Trace each redirect and its codes.** BACKLNK's [Redirect & HTTP Header Checker](https://backlnk.com/tools/redirect-header-checker) follows the redirect chain hop by hop with status codes and timings, tests the http:// and www / non-www variants of the host, compares the final URL with the canonical, and reviews headers such as `X-Robots-Tag` and caching. The headers are observed from BACKLNK's crawler, and CDNs can answer differently by region or user agent.
3. **Check whether each URL can be indexed.** The [Indexability Checker](https://backlnk.com/tools/indexability-checker) checks HTTP status, redirects, robots.txt, meta robots, `X-Robots-Tag`, canonical and sitemap presence for up to 50 URLs on one site, and gives one verdict per URL with the signal that decided it. "Indexable" only means nothing blocks indexing; actual index status is only in Google Search Console.
4. **See what Googlebot got.** In URL Inspection, the "Page fetch" field shows "Whether or not Google could actually get the page from your server." A live test also shows a screenshot and the HTTP response headers, within a daily limit per property.
5. **Watch the trend.** The Crawl Stats report groups the responses Google received "as a percentage of all crawl responses" and lists example URLs for each response type. Server errors there "cause availability warnings and should be fixed if possible."
6. **Fix, then re-check.** Correct the code at the server or CMS, test again with the same tools, and use the decision table above for each case. If a page still isn't indexed after it returns 200, our guide to [why a page isn't indexed](https://backlnk.com/blog/page-not-indexed) walks through the other causes.

## Frequently asked questions

### Does a 200 status code guarantee that Google indexes a page?

No. Google says a 2xx code means the content is considered for indexing, but "doesn't guarantee indexing." The indexing systems may index the content or not.

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

Either works for Google, which treats all 4xx codes except 429 the same way. Use 410 if you know the page is gone for good, since RFC 9110 defines it as likely permanent, and 404 when you don't know. If a close replacement exists, redirect with a 301 instead.

### What is a soft 404?

A page that says it doesn't exist, or has no main content, but returns a 200 status code. Google excludes such pages from Search and reports them as Soft 404 in the Page indexing report. Fix it by returning a real 404 or 410, redirecting to a true replacement, or fixing what made a working page look empty.

### How long can my site return 503 before pages drop out of Google?

Google documents about 2 days. It retries 503 and 429 URLs for about 2 days, and returning them for longer will cause Google to drop those URLs from the index. For longer closures, Google suggests a 200 placeholder home page instead.

### Can I use 403 to stop Googlebot from crawling too fast?

No. Google says 4xx codes other than 429 have no effect on crawl rate, and they cause the content to be removed from Google Search. Use 429 or 503 for a short time instead.

### What happens if robots.txt returns a 500 error?

Google stops crawling the site for the first 12 hours while it retries, then uses the last good copy of the file for up to 30 days. If it has no cached copy, it assumes there are no crawl restrictions. Fix robots.txt errors before anything else when your server has problems.

## Sources

- [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes), Google Crawling Infrastructure (accessed 2026-11-27)
- [How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec), Google Crawling Infrastructure (accessed 2026-11-27)
- [Optimize your crawl budget](https://developers.google.com/crawling/docs/crawl-budget), Google Crawling Infrastructure (accessed 2026-11-27)
- [Reduce the Google crawl rate](https://developers.google.com/crawling/docs/crawlers-fetchers/reduce-crawl-rate), Google Crawling Infrastructure (accessed 2026-11-27)
- [Pausing or disabling a website](https://developers.google.com/search/docs/crawling-indexing/pause-online-business), Google Search Central (accessed 2026-11-27)
- [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html), IETF / RFC Editor (accessed 2026-11-27)
- [RFC 9309: Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html), IETF / RFC Editor (accessed 2026-11-27)
- [Understand the JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics), Google Search Central (accessed 2026-11-27)
- [Don't use 403s or 404s for rate limiting](https://developers.google.com/search/blog/2023/02/dont-404-my-yum), Google Search Central Blog (accessed 2026-11-27)
- [Page indexing report](https://support.google.com/webmasters/answer/7440203), Google Search Console Help (accessed 2026-11-27)
- [Crawl Stats report](https://support.google.com/webmasters/answer/9679690), Google Search Console Help (accessed 2026-11-27)
- [URL Inspection tool](https://support.google.com/webmasters/answer/9012289), Google Search Console Help (accessed 2026-11-27)
- [Bing Webmaster Guidelines](https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a), Microsoft Bing (accessed 2026-11-27)
- [Troubleshoot Google Search crawling errors](https://developers.google.com/search/docs/crawling-indexing/troubleshoot-crawling-errors), Google Search Central (accessed 2026-11-27)
- [Debug network and DNS errors for Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/dns-network-errors), Google Crawling Infrastructure (accessed 2026-11-27)
