← Back to Blog

404 Errors After a Site Migration: When to Redirect, When to Let a Page 404, When to Use 410

Ihor Odariuk
· updated · 7 min read
Quick answer

Redirect every old URL that has a clear replacement with one 301 hop, and let URLs with no replacement return 404 or 410, which Google treats the same way. Check each URL live first: on a multi-location repair site, 46 of 74 URLs a crawler tool listed as 404 already redirected, so only 28 needed work.

Contents · 9 sections

After a relaunch, redirect every old URL that has a clear replacement to that replacement with a 301, in one hop. Let URLs with no replacement return 404 or 410. Google treats the two the same way. Before you fix anything, check each URL live, because many rows in Search Console and SEO tools describe how the site looked when it was last crawled. On a multi-location appliance repair site, a crawler tool listed 74 URLs as 404, and 46 of them already redirected to a working page. Only 28 needed work.

Google's rule for old URLs: map them and redirect permanently

Google's guide to site moves with URL changes is direct:

  • Map them. "It's important to map your old site's URLs to the URLs for the new site."
  • Redirect permanently. "We recommend server side permanent redirects from the old URLs to the new URLs," and "HTTP permanent redirects if possible, such as 301 and 308."
  • Go straight to the end. "We advise redirecting to the final destination directly," and keep chains low, "ideally no more than 3 and fewer than 5."
  • Keep them. "Keep the redirects for as long as possible, generally at least 1 year."
  • Let the rest go. If you are not moving all your old content, "make sure those URLs correctly return an HTTP 404 or 410 error response code on the new site."
  • No dumping on the home page. "Don't redirect many old URLs to one irrelevant single URL destination, such as the home page of the new site."
  • Update sitemaps with the new URLs and submit them in Search Console.

When should you use 301, 404 or 410?

Situation Response Google's reasoning
Page moved, or has a clear replacement 301 (or 308) to that page A permanent redirect is "a strong signal that the redirect target should be processed"
Page removed with no replacement 404 or 410 "All 4xx errors, except 429, are treated the same," and the URL is removed from the index if it was indexed
Move is temporary 302 "a weak signal"; Google keeps showing the source page
Page says "not found" but returns 200 Fix it to 404 or 410 That is a soft 404

The 301 and 302 lines are from Google's HTTP status code page, which also says that "Google's crawlers follow up to 10 redirect hops." The redirects page adds that permanent redirects show the new target in search results, temporary ones show the source page, and that JavaScript redirects are the last choice: "Only use JavaScript redirects if you can't do server-side or meta refresh redirects."

So the 404 versus 410 debate does not matter much for Google. I used a 410 on one site for a specific case. Directory URLs under the WordPress uploads folder returned 403 and showed up as errors. A single server rule now returns 410 for those folder addresses, while the images inside them still load with 200.

Are 404s in Search Console a problem?

Not by themselves. Search Console's Page indexing report help says "404 responses are not necessarily a problem, if the page has been removed without any replacement," and "In general, we recommend fixing only 404 errors that you link to yourself or list in a sitemap." If the page moved, "use a 301 redirect to the new location."

The real problems are the 404s your own pages still link to, the ones in your sitemap, and old URLs that had traffic or links and now land on nothing.

Why the 404 list is out of date: 46 of 74 URLs already redirected

Because every report is a snapshot of the last crawl. Two real examples from the same multi-location site:

A crawler tool's 404 list, November 2026. The tool listed 74 URLs returning 404. I requested each one live: 46 already returned 200 through redirects set up earlier, because the tool had not recrawled them. The other 28 were real 404s. Each got a 301 to the live page for the same city and service, for example an old city URL to the current page for that metro area, and two old blog index addresses to /blog/. All 28 were then checked again: each returned a 301 to the intended URL and the final page returned 200. The redirect table was backed up before the change.

Search Console's "Why pages aren't indexed" report, September 2026. It had 229 rows. Checked one by one through the URL Inspection API and live requests:

Report reason Rows What it was
Not found (404) 51 All 50 found were already 301 to a 200 page in one hop; Google had last crawled them before the redirects existed
Page with redirect 53 An older snapshot; nothing to fix
Redirect error 4 All four live 301 to 200 in one hop; three were URLs without a trailing slash
Crawled, currently not indexed 64 33 live pages and 27 old URLs that were now redirects, last crawled in March and April

Across the 252 redirects on the site there were no chains and no loops. Of 229 rows, real work was needed on 50 live pages. The 78 old URLs were sent to Google for recrawling so it would see the redirects.

Google's help explains why "Page with redirect" is not an error: "This is a non-canonical URL that redirects to another page. As such, this URL will not be indexed." That is what you want for an old address.

Avoid redirect chains and loops with one hop from old URL to new

Search Console's "Redirect error" covers four causes: "A redirect chain that was too long," "A redirect loop," a URL that "eventually exceeded the max URL length," and "A bad or empty URL in the redirect chain."

A chain appears when an old URL redirects to an address that itself redirects. A loop can come from HTTPS rules behind a proxy. On a cleaning company's site, the http, https, www, non-www and /index.html versions of every page all returned 200, so each page lived at four to eight addresses. Three server rules fixed it: www to non-www, http to https, and /index.html to /. The http to https rule reads the X-Forwarded-Proto header so that it does not loop behind Cloudflare. After the change, every variant reached the right page in at most two hops, with no loops.

One more trap from the same site: right after uploading the rules, the redirects seemed not to work, because the server and Cloudflare cached the old responses for a minute or two. Test again after a few minutes, with a cache-busting parameter, before deciding a rule is broken.

To check a list yourself, request each old URL and follow redirects, recording every hop and the final status. Anything with more than one hop should be pointed straight at the final URL.

Should you redirect pages that still rank?

Check Search Console before you do. A page with almost no clicks can still hold positions for long-tail queries that the page you redirect it to does not rank for.

The rule I work by: a page that ranks in the top 20 for any query is not redirected, merged or set to noindex. Overlap between pages is fixed with links and text instead, as in service area cannibalization.

When the hosting move itself creates 404s

Yes, for a while. After a nameserver change, some networks keep the old DNS records cached, so for those visitors the domain still points at the old host. If the site has already been removed there, they get the old host's 404 page. Keep the old host serving the site for at least 24 hours after a DNS change, and check the new records from public resolvers before switching anything off.

A clean order of work after a relaunch

  1. Export every old URL: Search Console pages with impressions, the old sitemap, old redirect rules and backlinks from your SEO tool.
  2. Request each one live and record the final status and the number of hops.
  3. For each real 404 with a clear replacement, add a 301 to that replacement. Same service, same city.
  4. Leave real 404s with no replacement alone, or return 410.
  5. Collapse chains so each old URL goes to its final page in one hop.
  6. Update internal links and sitemaps to the new URLs.
  7. Ask Google to recrawl the old URLs so it sees the redirects; how is in requesting reindexing.
  8. Watch Search Console, and validate a fix only once the issue is really fixed. Google says validation "typically takes up to about two weeks" and stops at the first remaining instance.

FAQ

Should I redirect every 404 to the homepage? No. Google says not to redirect many old URLs to one irrelevant page such as the home page.

Is a 410 better than a 404? For Google they are treated the same: "All 4xx errors, except 429, are treated the same."

How long should I keep redirects? Google says "as long as possible, generally at least 1 year."

Search Console still shows 404s I fixed weeks ago. Why? On the site above, every 404 row had last been crawled before its redirect existed. Check the URL live; if it redirects correctly, the report is behind.

How many redirect hops are too many? Google's crawlers follow up to 10, and Google's move guide asks for ideally no more than 3. Aim for one.

The structure behind those redirects is described in the internal linking case study. If you want a list of real versus stale errors on your own site, start with the free written diagnostic.

Related:

The package for this
Who’s on the Map: local visibility report$149
2 working days after payment

What a customer sees when they look for you on Google Maps or ask an AI assistant, and the reason behind it.