# HTTP status codes

> The status codes that matter for SEO, how Google treats each class, and the right response for moved, deleted and overloaded pages.

Canonical: https://scaplet.com/glossary/http-status-codes

Glossary Glossary · Crawling

The status codes that matter for SEO, how Google treats each class, and the right response for moved, deleted and overloaded pages.

4 min

read

5

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

HTTP status codes are three-digit numbers a server returns with every response. The first digit sets the class: 2xx success, 3xx redirection, 4xx client error, 5xx server error. Google reads them to decide whether to process a page, follow a redirect, drop a URL, or slow its crawling, so the right code for each situation matters.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fhttp-status-codes%20(%22HTTP%20status%20codes%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fhttp-status-codes%20(%22HTTP%20status%20codes%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fhttp-status-codes%20(%22HTTP%20status%20codes%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fhttp-status-codes%20(%22HTTP%20status%20codes%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 7 parts, 4 minutes.

1. [How Google treats each class 01](#how-google-treats-each-class)
2. [The codes to know 02](#the-codes-to-know)
3. [Which code to send 03](#which-code-to-send)
4. [Redirect and removal responses 04](#redirect-and-removal-responses)
5. [Tips most guides miss 05](#tips-most-guides-miss)
6. [Check status codes on your site 06](#check-status-codes-on-your-site)
7. [Common mistakes 07](#common-mistakes)

_01_At a glance

## How Google treats each class

Every response to a crawler carries a code, and Google's documentation spells out what it does with each class.

Class

### 2xx

Google's behavior

Content is passed on for processing, which does not guarantee indexing

Source wording

"Google considers the content for processing"

Class

### 3xx

Google's behavior

Follows the redirect. Up to 10 hops by default.

Source wording

"By default, Google's crawlers follow up to 10 redirect hops."

Class

### 4xx

Google's behavior

Content is ignored. A 404 removes a previously indexed URL.

Source wording

"Google doesn't use the content from URLs that return `4xx` status codes."

Class

### 5xx and 429

Google's behavior

Crawling slows down. Persistent errors lead to URLs being dropped.

Source wording

"`5xx` and `429` server errors prompt Google's crawlers to temporarily slow down with crawling."

[Search Console](/glossary/google-search-console) also flags a "[soft 404](/glossary/soft-404)": a page that returns a 2xx code but shows error content. Return a real 404 or 410 for pages that do not exist.

_02_Checklist

## The codes to know

First_3_
`200 OK`: the request succeeded. The page can go on to indexing.

`301 Moved Permanently` and `308 Permanent Redirect`: the resource has a new permanent URL. Google's indexing pipeline uses a [permanent redirect](/glossary/301-redirect) as a signal that the target should be canonical.

`302 Found` and `307 Temporary Redirect`: the move is temporary. Google uses these as a weak signal that the target should be processed, and its redirect docs say the indexing pipeline does not use a [temporary redirect](/glossary/302-redirect) as a canonical signal.

Next_2_
`404 Not Found`: no current page at this URL. The indexing pipeline removes it from the index if it was indexed.

`410 Gone`: per RFC 9110, access to the resource is no longer available at the origin server and that condition is likely to be permanent. Use it for content you removed on purpose.

Then_2_
`429 Too Many Requests`: Google treats it as a sign the server is overloaded and slows down.

`503 Service Unavailable`: per RFC 9110, the server is currently unable to handle the request because of temporary overload or scheduled maintenance.

_03_At a glance

## Which code to send

Situation

### Page moved for good

Send

301 or 308

Why

Signal that the target should be canonical

Situation

### Page removed on purpose

Send

404 or 410

Why

Google says to return one of these for permanently removed pages

Situation

### Server overloaded or in maintenance

Send

503 (or 429)

Why

Google's crawlers slow down. Keep it to 1-2 days

Situation

### Page needs a login

Send

401 or 403

Why

Not a crawl-rate tool, since 4xx other than 429 doesn't affect crawl rate

Between 404 and 410, don't overthink it. Google's docs treat all [4xx errors](/seo-issues/4xx-errors) except 429 the same way: the content is reported as not existing. Pick 410 if you want to be precise about intent.

_04_Check it

## Redirect and removal responses

For a move that will not be reversed, use 301 or 308. For a short-lived detour, use 302 or 307. RFC 9110 notes that for historical reasons a client may change a POST to a GET after a 301, and says to use 308 if that is undesired.

A permanent redirect and a deliberate removal

```
HTTP/1.1 301 Moved Permanently Location: https://example.com/new-page HTTP/1.1 410 Gone
```

_05_Worth knowing

## Tips most guides miss

### Soft 404s keep getting crawled

Google's [crawl budget](/glossary/crawl-budget) guide says soft 404 pages will continue to be crawled, and waste your budget. A real 404 is a strong signal not to crawl that URL again.

### Slowing Googlebot is a 500, 503 or 429

Google documents these for urgently reducing crawl rate for a short time, and says not to keep them up longer than 1-2 days.

### Multiple days on one URL can drop it

If [Googlebot](/ai-crawlers/googlebot) sees those codes on the same URL for multiple days, the URL may be dropped from the index.

### Crawl rate recovers by itself

Once 2xx responses return, Google gradually increases the crawl rate.

_06_How it works

## Check status codes on your site

1. 01

### Test one URL

Run `curl -I https://example.com/page` and read the first line of the response.
2. 02

### Follow a redirect path

Run `curl -IL https://example.com/old-page` to see every hop. More than a few hops means a chain worth shortening.
3. 03

### Find errors Google saw

In Search Console, open Indexing, then Pages, and read the reasons listed under "Why pages aren't indexed".

_07_Checklist

## Common mistakes

1. 01 Returning 200 with a "not found" message. Search Console reports this as a soft 404.
2. 02 Using 401 or 403 to limit crawl rate. Google says these have no effect on crawl rate. Use 503 or 429 for temporary overload.
3. 03 Leaving a 5xx error in place for days. Google ignores the content and eventually drops persistently failing URLs.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Should I use 301 or 302?

Use 301 (or 308) when the move is permanent and you want the new URL to be the canonical one. Use 302 or 307 when the original URL will come back. Google uses a permanent redirect as a canonical signal and does not use a temporary one that way.

_02_ What is the difference between 404 and 410?

Both tell Google the page is not available. RFC 9110 says 410 means the resource is no longer available and likely permanently so, while 404 only says no current representation was found and does not say whether that is temporary or permanent. Google's docs say the indexing pipeline removes 404 URLs from the index and do not describe a speed difference.

_03_ What happens if my server returns 5xx errors?

Google temporarily slows down crawling and ignores the content of those responses. If errors persist, the URLs are eventually dropped from the index. For planned maintenance, return 503.

_04_ How long can I return 503 to Google?

Google recommends no more than 1-2 days. If Googlebot sees 500, 503 or 429 on the same URL for multiple days, the URL may be dropped from the index.

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- rfc-editor.org

1. 01 [HTTP status codes, network and DNS errors, and Google Search](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-24
2. 02 [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-24
3. 03 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html) rfc-editor.org · checked 2026-10-24
4. 04 [Reduce the Googlebot crawl rate](https://developers.google.com/crawling/docs/crawlers-fetchers/reduce-crawl-rate) developers.google.com · checked 2026-10-24
5. 05 [Manage crawl budget for large sites](https://developers.google.com/crawling/docs/crawl-budget) developers.google.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn 301 redirect Crawling and indexing](/glossary/301-redirect) [Related URL Inspection tool Crawling and indexing](/glossary/url-inspection-tool) [Read next Canonical URL Crawling and indexing](/glossary/canonical-url) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[HTTP/3](/glossary/http-3) [HTTP caching](/glossary/http-caching)

More in Crawling and indexing
[Canonical HTTP header](/glossary/canonical-http-header) [Canonical URL](/glossary/canonical-url) [Client-side rendering](/glossary/client-side-rendering) [Crawl budget](/glossary/crawl-budget) [Crawl errors](/glossary/crawl-errors) [Crawl stats report](/glossary/crawl-stats-report) [Duplicate content](/glossary/duplicate-content) [Dynamic serving](/glossary/dynamic-serving) [ETag](/glossary/etag) [Google Indexing API](/glossary/google-indexing-api) [Google Search Console](/glossary/google-search-console) [HTML sitemap](/glossary/html-sitemap) [HTTP status codes](/glossary/http-status-codes) [HTTPS](/glossary/https) [Hydration](/glossary/hydration) [Index bloat](/glossary/index-bloat) [Indexability](/glossary/indexability) [Indexing](/glossary/indexing) [IndexNow](/glossary/indexnow) [Infinite scroll](/glossary/infinite-scroll) [JavaScript SEO](/glossary/javascript-seo) [lastmod](/glossary/lastmod) [Load more button](/glossary/load-more) [Log file analysis](/glossary/log-file-analysis)

Terms on this page
[Google Search Console](/glossary/google-search-console) [Soft 404](/glossary/soft-404) [301 redirect](/glossary/301-redirect) [302 redirect](/glossary/302-redirect) [Crawl budget](/glossary/crawl-budget)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
