Skip to the content
Start free

HTTP status code

An HTTP status code is the three-digit number a web server sends back with every response, saying whether the request worked, moved, failed or must wait. A page that loads normally answers 200. A missing page answers 404. A page that has moved answers 301. Browsers barely show these numbers, but search crawlers and AI crawlers act on them first, before they read a single word.

What is an HTTP status code? #

Every time a browser or a bot asks for a URL, the server replies with a status line, headers and usually some content. The status code is in that first line. The HTTP standard, RFC 9110 (June 2022), calls it “a three-digit integer code that describes the result of the request”. Valid codes run from 100 to 599. The words after the number, such as “Not Found”, are only a label. Machines read the number.

What do the five classes mean? #

The first digit sets the class. RFC 9110 defines five:

Class Name What it says Common codes
1xx Informational Request received, still working 100, 103
2xx Successful Received, understood and accepted 200, 204, 206
3xx Redirection Further action is needed, usually go elsewhere 301, 302, 304, 307, 308
4xx Client error The request is wrong or cannot be met 400, 401, 403, 404, 410, 429
5xx Server error The server failed on a valid request 500, 502, 503, 504

If a client meets a code it does not know, RFC 9110 says to treat it “as being equivalent to the x00 status code of that class”. So an unknown 471 is handled like a 400. The IANA registry keeps the official list.

Which codes matter most for SEO? #

Meanings are from MDN. Google’s handling is from its page on HTTP status codes and Google Search.

Code Meaning What Google does
200 OK The request succeeded Passes the content on to indexing; not a promise it will be indexed
301 / 308 Moved for good Follows it; a strong sign the new URL is the one to keep
302 / 307 Moved for now Follows it; a weak sign
304 Not Modified Your cached copy is still good Notes the page has not changed since the last crawl
404 Not Found The server cannot find it Drops the URL from the index over time; crawls it less
410 Gone Deleted, with no forwarding address Handled the same as 404
401 / 403 Sign in needed / no access Treated as “content does not exist”
429 Too Many Requests Rate limit hit Treated like a server error; crawling slows
500 / 502 / 503 The server failed Crawling slows; URLs that keep failing are removed

The status code decides what Google does with a page before content matters. Google says a 2xx code “doesn’t guarantee indexing”, but anything else stops it. A 4xx page is not indexed, and an indexed one is removed. A 5xx page is kept for a while, then dropped if the errors go on. Google’s crawlers follow up to 10 redirect hops. A wrong code can quietly empty your search index entries or waste crawl budget.

Why does it matter for AI answers? #

AI tools need a page that loads. Google’s page on AI features says a supporting link in an AI Overview must be “indexed and eligible to be shown in Google Search with a snippet”. A page answering 404 or 5xx cannot be indexed, so it cannot be cited. Outside Google, an AI crawler or a live fetcher acting for a person reads the status first. A 403 from a firewall rule, or a 503 during a busy hour, means the assistant gets nothing to quote and may answer from older sources.

What is a soft 404? #

A soft 404 is a page that says “not found” but answers 200. Google’s Page indexing report describes it as a “user-friendly ‘not found’ message but not a 404 HTTP response code”. Empty category pages and “no results” search pages often do this. The fix is to send a real 404 or 410, or to give the page real content.

404 or 410? #

MDN says 404 means “the server cannot find the requested resource”, and 410 means it was “permanently deleted from server, with no forwarding address”. Google handles them the same way. Use 410 when you know a page is gone for good, and 404 for anything else. Google’s report adds: “404 responses are not necessarily a problem, if the page has been removed without any replacement.” See 404 and 410.

How should I slow crawlers down? #

With 503 or 429, never 401 or 403. Google’s page on reducing the crawl rate says to return 500, 503 or 429 in an emergency, with a Retry-After header where you can. It says this suits “a couple of hours, or 1-2 days”. If Googlebot sees these codes “on the same URL for multiple days”, that URL “may be dropped from Google’s index”. Google’s status code page warns: “Don’t use 401 and 403 status codes for limiting the crawl rate.” See rate limiting.

Common mistakes #

  • Soft 404s. Error pages that answer 200.
  • 403 for Googlebot. A security rule blocks a real crawler. Google’s report says “Googlebot never provides credentials, so your server is returning this error incorrectly.” Check the web application firewall and verified bots settings.
  • 302 for a permanent move. Use 301 or 308. See 301 vs 302 redirect.
  • Redirect chains and loops. Each hop is another request. See redirect chain.
  • Maintenance mode for days. A long 503 can cost you indexed pages.
  • A cached error. The CDN caches a 404 or 500 and keeps serving it after the origin server recovers. A cache purge fixes it.
  • Every deleted page sent to the home page. A person looking for one product lands on a page that does not answer their question. Send each old page to its closest match, or let it answer 404 or 410.

A worked example #

A shop checks five addresses after a rebuild:

Address Status Problem Fix
/kettles/ 200 None None
/old-kettles/ 302 then 200 Temporary code for a permanent move 301 straight to /kettles/
/kettles/?colour=pink 200, “No products” Soft 404 404, or noindex the empty filter
/winter-sale-2025/ 404 Gone for good 410, or 301 to the closest page if one exists
/sitemap.xml 403 to bots Firewall blocks crawlers Allow verified crawlers

How to check it #

  1. Put any URL into the HTTP Header Checker. It shows the status code, the cache headers and any X-Robots-Tag.
  2. Follow every hop with the Redirect Checker. You want one hop, then a 200.
  3. Find links on a page that answer 404 or 5xx with the Broken Link Checker. See broken link.
  4. Check your sitemap lists only pages that answer 200, with the XML Sitemap Checker. See XML sitemap.
  5. Check robots.txt itself answers 200 with the Robots.txt Checker. See robots.txt.
  6. If a crawler gets 403s, check whether it is the real one with Verify an AI Bot.
  7. See whether AI tools can load your page with the AI Readiness Checker.
  8. Our Edge Cache Checker shows if an error is being served from cache. Our Indexability Checker is live too.
  9. In Google Search Console, read the Page indexing report for “Not found (404)”, “Soft 404”, “Server error (5xx)” and the 401 and 403 rows. Test single pages with URL Inspection.
  10. Read the codes bots really got in your server logs. Our AI Crawler Log Analyser reads a log in your browser.
  11. Over time, 404s with referrer, 404 rescue, the redirect monitor and the log file analyser are in URSY Pro, opening in stages.

What URSY.com counts #

Status codes are observed, not guessed. We read them from the CDN’s edge log, which includes pages the cache answered, and from the website itself. A request seen in both has the same request ID and is counted once. So you can see which bot got a 404, a 403 or a 503, on which page. Edge figures arrive about 8 to 10 minutes late. The rules are on our methodology page.

Questions #

Does a 404 hurt my whole site? #

No. Google says 404s are not necessarily a problem when a page has been removed with no replacement. Fix the ones that people or links still reach.

Should a page that is down for maintenance answer 503? #

Yes, with a Retry-After header, for hours or a day or two. MDN says 503 means the server is “not ready to handle the request”.

What is a 304? #

It tells the client its cached copy is still good, so nothing is resent. Google reads it as a sign the page has not changed since its last crawl.

Crawlers may get a different answer, for example from a firewall or a bot rule. Check your logs for what Googlebot actually received.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: HTTP status code. URSY. Updated 26 November 2026. https://ursy.com/wiki/http-status-code/ · Section links

Tools for this

All 871 wiki entries, A to Z →