Guide : HTTP Error Codes

How HTTP 4xx and 5xx error codes affecter SEO — how Google handles errors, qui ones causer deindexing, explorer waste, and ranking drops, and how to monitor and fix les.

Première publication : 27 juin 2026 · Dernière mise à jour : 3 août 2026 · Advanced
Langues
1 indice probant sur cette page

HTTP error codes are the 4xx (client error) and 5xx (server error) réponses a server renvoie au lieu de a successful 2xx. Google treats the two classes very differently: 4xx (except 429) signifie 'le contenu doesn't exist' — lune page drops from the index, with zero effect on fréquence d’exploration; 5xx (and 429) signifie 'le serveur is failing' — Google throttles exploration site-wide premier, and seulement drops lune pages si the errors persist. 429 is numerically a 4xx but Google explicitly treats it as a server error. A soft 404 is the trap cas — a 200 que reads as 'introuvable,' qui Google flags as wasting budget d’exploration (mainly a large-site concern) au lieu de cleanly dropping lune page. 404s ne sont pas a quality or ranking signal (Mueller), so don't panic over an error count — an isolated error's réel impact encore dépend on ce que l’URL is (a special resource comme robots.txt obtient its propre error handling, unlike an ordinary page) — prioritize the errored URLs que have liens or trafic. Pour planned downtime utiliser 503 + Retry-After (jamais 403/404/410), and jamais 503 votre robots.txt. Monitor the whole family via Search Console's Page Indexation report. Ce hub maps and liens to every individual code: 401, 403, 404, 404 vs 410, 410, 429, 451, 500, 502, 503, 504, and soft 404.

TL;DR — HTTP error codes are the 4xx (client) and 5xx (server) status classes. Google draws a hard behavioral line entre les: 4xx (except 429) signifie “the content doesn’t exist” — l’URL is dropped from the index, with “no effect on crawl rate”; 5xx (and 429) signifie “the server is failing” — Google throttles exploration proportionately, preserves indexé URLs at premier, and seulement deindexes si the errors persist, alors ramps fréquence d’exploration back up gradually après recovery. 429 is numerically a 4xx but Google calls it “a server error.” Content from quelconque error réponse is ignored. 404s ne sont pas a quality signal (Mueller) — triage by liens/trafic, don’t fix everything, and remember an isolated error’s réel impact dépend on l’URL (robots.txt has special error handling que an ordinary page doesn’t). Soft 404s (a 200 que reads as “pas trouvé”) are flagged by Google as wasting budget d’exploration — mainly a large-site concern, pas a guaranteed effect on every site. Pour planned downtime utiliser 503 + Retry-After, kept to “a few days at most,” and jamais 503 the robots.txt. Monitor the family via GSC’s Page Indexation report. Ce hub maps and routes to every individual code.

The un distinction que runs the whole topic

The protocol code describes the HTTP outcome; a Search Console étiquette describes how Google classified an observed récupérer. Evidence for this claim Primary standard or official documentation supporting the adjacent article claim. Scope: Protocol semantics and Search behavior are kept separate; no indexing, ranking, or migration-timing guarantee is inferred. Confidence: high · Verified: RFC 9110: Status codes Ne faites pas infer a unique root causer or exact removal temps from the family alone. Evidence for this claim Primary standard or official documentation supporting the adjacent article claim. Scope: Protocol semantics and Search behavior are kept separate; no indexing, ranking, or migration-timing guarantee is inferred. Confidence: high · Verified: Google: HTTP and network errors

Four layers obtenir flattened into “it’s a 404” whenever personnes talk à propos de errors, and keeping les apart is ce que rend the rest of ce page faire sense:

  1. Protocol semantics — ce que le code d’état signifie per the HTTP spec (a 404 signifie “not found,” complet arrêter).
  2. The observed récupérer — ce que Googlebot en réalité got back on a spécifique requête at a spécifique temps, qui peut differ from ce que a navigateur sees.
  3. Search processing — how Google’s indexation pipeline classifies and acts on que observed récupérer (drops l’URL, throttles the explorer, ignores the corps).
  4. Root causer — the réel raison on votre serveur (a bad deploy, an overloaded database, a WAF rule), qui le code d’état alone jamais indique vous.

Knowing the family (4xx vs 5xx) indique vous qui of the premier three layers you’re looking at. It jamais substitutes pour couche 4 — vous encore have to go trouver out pourquoi.

Google’s propre docs frame the split cleanly, and it’s worth internalizing avant anything sinon: 4xx errors dire “the content doesn’t exist”; 5xx errors dire “the server itself is failing.” Ceux are two complètement différent problems, and Google’s indexation pipeline responds to les in two complètement différent façons.

A utile anchor premier: même a success code isn’t a promise. Google dit plainly que “pour Recherche Google, an HTTP 2xx (success) code d’état doesn’t guarantee indexation.” Error codes are en réalité the plus deterministic half of the picture — ils tell Google, unambiguously, soit “gone” or “broken.”

How Google treats 4xx errors

Pour client errors, Google’s behavior is uniform and blunt: “Google doesn’t utiliser le contenu from URLs que retourner 4xx code d’états,” and “Google robots d’exploration inform the suivant processing system que le contenu doesn’t exist.” Même si votre 403 or 404 page renders a wall of réel text, none of it obtient indexé — the corps of an error réponse is ignored.

Two consequences follow:

  • Previously indexé URLs obtenir dropped. Une fois une page reliably renvoie a 4xx, Google removes it from the index over temps.
  • There’s aucun crawl-rate penalty. Ce is the myth-buster: “The 4xx status codes, except 429, have aucun effect on fréquence d’exploration.” A mountain of 404s fait pas slow Google’s exploration of the rest of votre site.

Que dernier point kills a bad instinct: don’t essayer to throttle Googlebot with a 401 or 403. Google explicitly warns “don’t utiliser 401 and 403 code d’états pour limiting the fréquence d’exploration.” An auth wall doesn’t slow the explorer — it simplement rend the content invisible.

How Google treats 5xx errors (and 429)

Server errors trigger the “the server is struggling” branch, and ici Google is deliberately protective of votre site:

  • Fréquence d’exploration throttles premier, proportionate to volume. “5xx and 429 server errors prompt Google’s robots d’exploration to temporarily slow bas with exploration,” and “the decrease in fréquence d’exploration is proportionate to the number of individual URLs que are returning a server error.” A handful of 500s barely registers; a site-wide outage cuts exploration hard.
  • Indexé URLs are preserved… jusqu’à the errors persist. “Déjà indexé URLs are preserved dans l’index, but eventually dropped,” and Google “removes from the index URLs que persistently retourner a server error.” A short blip doesn’t deindex vous; a sustained échec fait.
  • Content from 5xx is ignored aussi. “Quelconque content Google receives from URLs que retourner a 5xx code d’état is ignored.”
  • Recovery is automatic but gradual. “Une fois le serveur starts responding with a 2xx code d’état, Google gradually increases the fréquence d’exploration pour le site.” Google is fast to back off and cautious to ramp back up — there’s aucun manual “unlock,” vous simplement fix the root causer and wait.

Pourquoi 429 lives in le serveur-error bucket

Ce is the unique most-missed nuance in la plupart guides. 429 Too Many Requests is numerically a 4xx, but Google treats it as a server signal: “Google’s robots d’exploration treat the 429 code d’état as a signal que le serveur is overloaded, and it’s considéré a server error.” So a WAF or rate limiter que starts firing 429s at Googlebot va throttle votre explorer the même façon a wave of 500s voudrait — pas drop individual pages the façon a 404 fait. Quand I break le codes bas in my Code d’état HTTPs guide at Ahrefs, I put 429 with le serveur errors pour exactly ce raison: it’s “a formulaire of rate-limiting to protéger le serveur,” and it rend Google slow bas.

The error-code family map

Here’s the fast triage view of the whole family. Chaque code ci-dessous is its propre deep dive nested sous ce hub (they’re in the sidebar aussi):

Blocked / accès errors

  • 401 Unauthorized — the client hasn’t identified or verified itself quand nécessaire. Blocked to Googlebot behind an auth requête.
  • 403 Forbidden — the client is connu but doesn’t have accès rights.

Not-found errors

  • 404 Introuvable — la requêteed resource isn’t trouvé.
  • 404 vs 410 — the practical difference entre “not found” and “gone” (it’s plus petit que personnes think).
  • 410 Gone — comme a 404, but it aussi dit the resource won’t be back. Drops pages slightly faster.

The dual-identity code

  • 429 Aussi Nombreux Requêtes — rate limiting; numerically 4xx but Google treats it as a server error pour crawl-rate purposes.

Legal

  • 451 Unavailable Pour Legal Raisons — blocked pour a legal raison: country-level blocks, DMCA takedowns.

Server errors (5xx)

  • 500 Internal Server Error — le serveur hit an problème it can’t handle.
  • 502 Bad Gateway — a bad réponse from an upstream server.
  • 503 Service Unavailable — le serveur is overloaded or bas pour maintenance (the correct code pour planned downtime).
  • 504 Gateway Timeout — aucun timely réponse from an upstream server.

The trap cas

  • Soft 404 — une page que renvoie 200 OK but reads as “not found.” The worst of les deux worlds — plus on ce ci-dessous.

Broken redirections are error-adjacent but categorized separately (Google surfaces les as “Redirect error” in Search Console, distinct from a normal, working “Page with redirect”). By par défaut Google’s robots d’exploration “follow up to 10 redirection hops” avant giving up; a chain that’s aussi long, loops, or contient a bad URL turns into que Redirect-error status.

Fait an HTTP error hurt votre SEO?

Lead with the verdict: an isolated error on an ordinary page is almost jamais a problem, and 404s specifically ne sont pas a ranking or quality signal. Mueller has been explicit and repeated à propos de ce. The reflex — “I have 50 000 404s, my site doit be penalized” — is the number-one myth to defuse. Errors are a normal partie of the web; having pages 404 or 410 is the technically correct façon to handle URLs que don’t exist.

“Isolated” doesn’t mean “always harmless,” though — the réel impact dépend on what’s returning the error. An ordinary page 404ing is a non-event; a special resource is différent. Google donne robots.txt its propre error-handling rules distinct from regular URLs, so a server error on robots.txt peut affecter exploration in a façon an ordinary page’s 404 jamais voudrait. Judge an error by ce que URL it’s on and ce que dépend on it, pas by le code d’état alone.

The un pattern with a réel, documented mechanism is persistent, mass 5xx: crawl-rate throttle → eventual deindexing. And même que is proportionate to how nombreux URLs are erroring and généralement reversible une fois le serveur recovers — Google describes the ramp-back-up as gradual, pas instant, so treat the exact timing, retry cadence, and recovery speed as evidence-dependent (ce que Google’s docs décrire happening) plutôt que a fixed guarantee. The distinction Mueller draws is the un to remember: fréquence d’exploration reacts to server errors (429/500/503/ timeouts), pas to 404s.

Explorer waste vs deindexing — two différent harms

It helps to separate the two façons errors peut cost vous:

  • Deindexing — persistent 4xx (page dropped as “gone”) or persistent 5xx (pages dropped après sustained server échec). Ce is à propos de pages leaving the index.
  • Crawl-budget waste — mostly a large-site concern. Google’s crawl-budget guide notes “si le site slows bas or responds with server errors, the limite goes bas and Google crawls moins.” But the réel budget-waster is the soft 404: “soft 404 pages will continue to be crawled, and waste your budget.” Parce que a soft 404 semble alive (it renvoie 200), Google garde re-checking a page que isn’t really là. That’s pourquoi the soft 404 is the “worst of both” cas — it doesn’t cleanly drop comme a vrai 404, it lingers and burns récupère.

The soft-404 trap has two courant causes, les deux worth naming: a custom “page pas trouvé” template que renvoie 200 au lieu de a réel 404, and a blanket redirection of every dead URL to the homepage — Google recognizes que pattern as a soft 404 aussi. A friendly 404 page is bon pour UX and entièrement recommended — as long as it encore renvoie the réel HTTP 404 code d’état.

Doing planned downtime the correct façon

Quand vous intentionally prendre a site (or a section) offline, the correct code is 503 Service Unavailable with a Retry-After header — jamais a 4xx. Google’s “Pause your online business” guidance is spécifique:

  • “Si vous devez urgently disable le site pour 1-2 days, alors retourner an informational error page with a 503 HTTP réponse code d’état.”
  • “Ce is an extreme mesurer que devrait seulement be taken pour a very short period of temps (a few days at la plupart),” because “complètement closing a site même pour simplement a few weeks peut have negative consequences on Google’s indexation of votre site.”
  • “Don’t block the website by returning 403, 404, 410 HTTP status codes” during downtime — a 4xx dit “permanently gone,” qui is exactly the incorrect signal pour a temporary outage.
  • The trap almost everyone misses: “Don’t retourner a 503 HTTP réponse code d’état pour the robots.txt fichier parce que ce blocks tout exploration.” 503 votre pages, pas votre robots.txt.

How to monitor the whole family in Search Console

Day to day, you’ll meet ces errors in Search Console’s Page Indexation report, où chaque maps to a distinct status:

  • Introuvable (404)“this page returned a 404 error when requested.”
  • Server error (5xx)“votre serveur renvoyé a 500-level error quand lune page was requested.”
  • Blocked due to unauthorized requête (401)“lune page was blocked to Googlebot by une requête pour authorization.”
  • Blocked due to accès forbidden (403) — a 403 où credentials were provided but accès wasn’t granted.
  • Blocked due to autre 4xx problème — a 4xx pas covered by un autre status; utiliser Inspection d’URL to debug.
  • Soft 404 — a “user-friendly ‘introuvable’ message but pas a 404 HTTP réponse code.”
  • Redirection error — chain aussi long, a loop, an over-long URL, or a bad URL in the chain.

Chaque status points at a différent root causer and fix chemin. Une fois you’ve resolved un, utiliser Validate Fix to prompt a recrawl — but définir realistic expectations on timing; recrawl isn’t instant. And remember Google’s propre framing: “it’s fine pour une URL pas to be indexé pour the correct raisons — Par exemple… a 404 pour une page que you’ve supprimé and have aucun replacement pour.” Pas every error is a to-do.

Search Console alone isn’t suffisant to act on — it’s un vantage point, sampled and delayed. Quand vous log an error pour triage, record at minimum: the URL, quand vous observed it, the vantage point (Search Console vs. a live vérifier vs. server/CDN logs), the utilisateur agent la requête came in on, the HTTP méthode, the final code d’état and réponse chemin (notamment quelconque chaîne de redirections), si it’s a one-off or recurring, and a post-fix verification step une fois you’ve redeployed. Triangulating GSC contre a live status vérifier and votre propre logs is ce que turns a stale report row into a confirmed, fixable problem.

Comment corriger and prioritize errors

  • Triage 404s by valeur. Fix the ones with inbound liens, lien internes, sitemap presence, or lingering trafic — 301-redirection ceux to a relevant page to recover the popularité des liens. Let genuinely dead URLs 404 or 410. As I put it in my Ahrefs guide, the practical fix pour la plupart of ces is que “vous simplement besoin to 301 redirection chaque of ces pages to a relevant page” — but seulement où a relevant target exists. Don’t blanket-redirect everything to the homepage (that’s a soft 404).
  • 410 vs 404 is marginal. A 410 drops une page slightly faster que a 404; the practical SEO difference is minor. Utiliser 410 quand vous vouloir to be explicit que something is gone pour bon, but don’t expect it to be dramatically meilleur.
  • Root-cause 5xx. The fixes are on le serveur side: capacity and timeouts pour 500s, upstream/CDN health pour 502/504, and WAF or rate-limiting rules misfiring on Googlebot pour 403/429. Confirmer the réel bot with a reverse/forward DNS vérifier avant vous go rate-limiting it.
  • Courant root causes worth naming: app and database errors and overloaded hosts (5xx), upstream/CDN échecs (502/504), rate limiting or bot-blocking WAFs (403/429), broken migrations and stale lien internes (404), and misconfigured “friendly error pages” (soft 404).

Bing: a similaire pattern, pas independently verified code-for-code

Bing’s public statements point in the même direction as Google’s approach — 400-range codes are treated as manquant or forbidden, and 500-range codes signal server trouble que fonctionne contre explorer efficiency — but I haven’t independently verified complet, current, code-by-code parity contre Bing’s propre documentation, so treat ce as directional plutôt que a confirmed one-to-one match. Fabrice Canel frames Bing’s goal as a “explorer efficiency north star … to explorer une URL seulement quand le contenu has been ajouté … mis à jour,” and persistent errors fonctionner directement contre que — Bing spends explorer footprint on URLs que aren’t yielding fresh, indexable content. Bing aussi recommends a 503 with Retry-After pour planned downtime plutôt que serving error pages as 200. You’ll trouver Bing’s crawl-error surfaces in Bing Webmaster Outils (Inspection d’URL, Explorer Contrôler, Site Scan).

Où to go suivant

Ce page is the conceptual hub pour the error-code family. It sits à l’intérieur the broader Code d’état HTTPs cluster (the complet 1xx–5xx picture, plus redirections and success codes); ce sub-hub is the map pour the error half of que. Chaque code ci-dessous is its propre deep dive:

Blocked / accès

  • 401 Unauthorized — ce que triggers the “Blocked due to unauthorized request” status, and pourquoi auth walls don’t throttle Googlebot.
  • 403 Forbidden — credentials-provided-but-denied, and the WAF/bot-blocking patterns que causer faux 403s to Googlebot.

Introuvable

  • 404 Introuvable — how Google handles manquant pages, pourquoi it’s pas a penalty, and qui 404s to en réalité fix.
  • 404 vs 410 — the réel, petit difference, and quand to reach pour chaque.
  • 410 Gone — the “permanently gone” signal and its slightly faster drop.

Rate limiting

  • 429 Aussi Nombreux Requêtes — the 4xx que behaves comme a 5xx, and how to garder rate limites from throttling votre explorer.

Legal

  • 451 Unavailable Pour Legal Raisons — takedowns, country blocks, and how legal removals montrer up.

Server errors

  • 500 Internal Server Error — the generic server échec and how to root-cause it.
  • 502 Bad Gateway — upstream/proxy échecs.
  • 503 Service Unavailable — the correct code pour maintenance and planned downtime (with the robots.txt trap).
  • 504 Gateway Timeout — upstream timeouts.

The trap cas

  • Soft 404 — the 200-that-reads-as-gone, pourquoi it wastes budget d’exploration, and how to turn it into a réel 404.

Broken redirections are handled separately as the Redirection error status — connexe but categorized on its propre in Search Console.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.