Server Response Codes

SEO, AEO & GEO Glossary

Server response codes are three-digit HTTP status codes a server returns for each request, telling browsers and crawlers whether a URL loaded, moved, or failed.

What are Server Response Codes?

Server response codes, also called HTTP status codes, are three-digit numbers a web server returns with every response to a browser or crawler. They signal whether the request succeeded (2xx), was redirected (3xx), failed because of the client (4xx), or failed because of the server (5xx). Search engines use them to decide what to index.

Every time Googlebot, Bingbot or an AI crawler such as GPTBot requests a URL, the status code is the first thing it reads. A page with excellent content still gets ignored if it answers with a 404 or a 500. That makes status codes one of the most basic and most overlooked parts of technical SEO.

How it works

The codes are defined in the HTTP specification (RFC 9110) and grouped by their first digit:

ClassMeaningCommon SEO codes
2xxSuccess200 OK
3xxRedirection301, 302, 307, 308, 304
4xxClient error404, 410, 403, 429
5xxServer error500, 502, 503

How search engines typically react:

  • 200: the content is eligible for indexing.
  • 301 / 308: permanent move; signals pass to the target, which usually becomes canonical.
  • 302 / 307: temporary move; Google may keep the original URL indexed for a while.
  • 404 / 410: the page is gone; Google drops it. A 410 can be processed slightly faster, but both work.
  • 429 / 5xx: crawl rate is reduced; persistent errors can lead to deindexing.
flowchart LR
  A[Crawler requests URL] --> B{Status code}
  B -->|200| C[Render and consider for index]
  B -->|301/308| D[Follow redirect, consolidate signals]
  B -->|404/410| E[Drop URL over time]
  B -->|429/5xx| F[Slow crawl, retry later]

Examples

  • A B2B SaaS company merges three overlapping “pricing FAQ” pages into one. It 301-redirects the old URLs to the new page so backlinks and rankings consolidate instead of leaking to dead pages.
  • A cybersecurity vendor retires an end-of-life product. It returns 410 for the product pages that have no replacement and redirects the ones that do to the successor product.
  • During a database migration, an engineering team serves 503 with a Retry-After header for 30 minutes rather than letting the CMS show a blank page with a 200.

Common mistakes

  • Soft 404s. “Page not found” templates that return 200 waste crawl budget and get flagged in Search Console.
  • Redirect chains and loops. A to B to C to D slows crawlers and users. Point every redirect straight at the final URL.
  • Redirecting everything to the homepage. Google often treats mass redirects to an irrelevant page as soft 404s.
  • Long-running 503s. Fine for hours, risky for days.
  • Blocking AI crawlers with 403 by accident. Overzealous bot protection (WAF rules, CDN challenges) can return 403 to legitimate search and AI crawlers. Check your logs.

AI engines such as ChatGPT search, Perplexity and Google AI Overviews rely on crawlers and search indexes that respect the same status codes. A page that intermittently returns 5xx or 403 to these bots is less likely to be retrieved and cited. Log file analysis is the fastest way to see which codes each crawler actually receives.

Sources

Frequently asked questions

Which status code should I use when a page moves permanently?

Use a 301 (or 308) redirect to the closest equivalent URL. Google treats permanent redirects as a strong signal that the target should become the canonical URL, and link signals consolidate to it. Use 302 or 307 only when the move is genuinely temporary, such as a short promotion or A/B test.

Is a 404 error bad for SEO?

Not by itself. A 404 for a page that truly no longer exists is the correct response, and Google simply drops the URL over time. Problems start when important pages return 404 by mistake, when internal links point to dead URLs, or when missing pages return 200 with an error message (a soft 404).

What happens if my site returns 5xx errors to Googlebot?

Google slows its crawling when it sees 500, 503 or 429 responses. If the errors persist, URLs that keep failing can eventually be dropped from the index. For planned maintenance, return 503 with a Retry-After header for a short period rather than serving errors or blank pages with a 200.

Technical SEOHTTPCrawling

Do not let AI keep
recommending someone else

Start your 7-day free trial and get your AI Visibility Score in about a minute. See exactly where you stand, where competitors are beating you, and the ranked fixes to get into the answer. Cancel anytime before the trial ends.

7-day free trial. Cancel anytime before it ends. Trusted by 500+ B2B SaaS teams.

Partnered with
Powered by