Farasu on TelegramJoin
SEO Learn
Technical SEO

Redirects and HTTP Status Codes

Written by 5 min read

Every time Googlebot asks your server for a page, the server answers with a three-digit number before it sends anything else. That number tells Google whether the page exists, has moved, or is broken, and Google acts on it. This page explains the handful of numbers that matter, and what each one makes Google do.

What a status code is

An HTTP status code is the short reply a web server gives to every request: a number that says how the request went. Googlebot, Google's crawler (the program that fetches pages so Google can read them), reads it first and decides what to do with the page from it.

The first digit gives the family:

  • 2xx, success. 200 means "here is the page".
  • 3xx, redirection. The page lives somewhere else, and the reply names the new address. Sending visitors and crawlers from one address to another this way is called a redirect.
  • 4xx, client error. The request asked for something that is not there, or not allowed. 404 is "not found", 410 is "gone".
  • 5xx, server error. The page may exist, but the server failed to deliver it. 500 and 503 are the common ones.

Picture a bakery that moves its "cakes" page from /cakes to /menu/cakes. If the old address now answers 404, everyone who bookmarked it, and every site that linked to it, lands on an error. If it answers with a redirect to the new address, they all arrive at the cakes.

What each code makes Google do

Google documents its handling of every family, and the differences are practical.

2xx. The content may be considered for indexing. Google's documentation is explicit that a success code does not guarantee indexing.

3xx. Google follows the redirect, and the type matters. A 301 (moved permanently) or 308 is a strong signal that the new address should be the one shown in search results. A 302 (found) or 307 is a weak signal: Google tends to keep showing the old address, because you have said the move is temporary. The redirect itself is also a signal for choosing the canonical, the one address Google treats as the real version of a page.

Not every redirect is done by the server. A meta refresh tag in the page can also redirect, and Google reads an instant one as permanent and a delayed one as temporary. A redirect done with JavaScript works too, but Google's advice is to use it only when you cannot do a server-side or meta refresh redirect, because Google can only see it after running the page's code.

4xx. Google treats all of them the same way, with one exception covered below. A URL that keeps returning 404 or 410 is dropped from the index, and Google gradually crawls it less often. For an address you really removed, that is the correct result, not a problem to fix.

5xx, and 429. These tell Google your server is struggling, so its crawlers slow down. 429 ("too many requests") belongs to the 4xx family by number but is handled as a server error. If the errors continue, pages that were already indexed are eventually dropped. When the server starts answering 200 again, Google gradually crawls at the normal rate again.

One more case has no code of its own. A soft 404 is a page that answers 200 but whose content says the page does not exist: an empty template, or a "nothing found" message. The server claims success while the page shows an error, and Search Console reports these separately, because Google has to guess which of the two to believe.

What to do

  • When you move a page for good, redirect the old address to the new one with a 301. Point it at the closest equivalent page, not at your homepage.
  • Use 302 only when the move really is temporary, such as a seasonal page you will put back.
  • Let a page you have deleted, with no replacement, return 404 or 410. That is the honest answer.
  • Make "not found" pages return a real 404, not a friendly page with a 200.
  • Redirect straight to the final address. A chain (A to B to C) is slower for visitors and adds steps for the crawler.
  • Update your own internal links to the new address, so the redirect is a safety net and not the main road.

Common mistakes

Redirecting every removed page to the homepage. Someone looking for a specific cake recipe who lands on a homepage has not been helped. Redirect to a page that genuinely replaces the old one, or let it return 404.

Using a temporary redirect for a permanent move. Many tools and plugins create a 302 by default. After a move, check which code your redirects actually return.

Treating every 404 as an emergency. Search Console lists every URL that returned 404, including ones removed on purpose. It needs action only when a page that should exist is on the list.

A site that answers 5xx for days, during a hosting failure or a broken deploy, does not just lose visitors for those days. Google slows its crawling and eventually drops indexed pages. If your server is down, fix it before anything else on this list.
Watch (YouTube, in English): 301, 302, 307, 308: Which redirect is the chosen one?, Google Search Central, 2026; Should we be scared of a 404 status code?, Google Search Central, 2026.

Sources: How HTTP status codes affect Google's crawlers and Redirects and Google Search.

Was this useful?

Counts appear once there are 5 votes.

Not sure whether this affects your site?

Send me the address and I'll check it against this and the rest of the list, then reply with what I find. No cost.

Request a free audit

Related posts