French flag Hosted and supported in France A human reply within 12 hours 06 65 13 24 36
← All articles SEO & visibility7 min read

404 pages after a site migration

Sort the 404s after a migration, restore the pages worth keeping, fix the internal links and redirect only where there is a genuine equivalent.

Sort the 404s after a migration, restore the useful pages, fix the internal links and redirect only to a relevant equivalent. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

Illustrated diagnosis: 404 pages after a site migration
Diagnosing 404 pages after a migration: symptoms, causes, fixes and checks.

How do I recognise 404 pages after a migration?

After a redesign or a migration, the check has to compare the old and the new site URL by URL: HTTP status, canonical, robots, content, internal links, sitemap and redirects. The costliest errors are often systematic, and so can be spotted quickly. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.

Compare the old and the new structure: the list of URLs indexed before the redesign, each one's current HTTP status, and where the redirects lead. Note the launch date, because it is your marker in Search Console.

01 · Signal to check

A rise in 404s after the switch-over

02 · Signal to check

Broken internal links

03 · Signal to check

Old pages still being visited

One signal alone does not prove the cause: “A rise in 404s after the switch-over” can come from “A changed URL structure” just as easily as from “Files or content never migrated”. Look for at least two findings that agree before you apply a lasting fix.

Sorting the 404s: not all of them are problems

A page deliberately deleted with no equivalent can legitimately return a 404 or a 410. The trouble is 404s on URLs that had traffic, external links or internal links. Search Console's Page indexing report lists the not-found URLs, which you then cross-reference with your traffic and link data.

The server logs are usually fuller: they show the 404s visitors and crawlers actually requested, and how often. A URL requested several times a day deserves a redirect; a nonsense URL a bot invented can stay a 404.

Fixing at source as much as with redirects

Internal links still pointing at the old URLs should be fixed directly in the content, the menus and the templates, rather than left to lean on a redirect. On WordPress, a search-and-replace tool that handles serialised data lets you update the links in the database.

Check too that the 404 page really returns an HTTP 404 and not a 200: an error page served as 200 creates the “soft 404s” Google flags in Search Console. A useful 404 page offers a search box and links to the main sections.

Causes to check

For 404 pages after a migration, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.

01 · Possible cause

A changed URL structure

02 · Possible cause

Files or content never migrated

03 · Possible cause

Different rewrite rules on the server

04 · Possible cause

Absolute links still carrying the old path

The export of the old site's URLs, the redirect plan, the sitemaps, the indexing report and a crawl of the new site quickly show where the continuity broke.

A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
An animated process to understand 404 pages after a site migration
The subject in motion: observe the facts, apply an action in proportion, then check the result.

Precautions before starting

Keep the full export of the old URLs, their tags and their inbound links before fixing anything. Without that list, rebuilding the missing redirects gets hard.

Back up the .htaccess file, or your current redirect configuration, too: one rule in the wrong place can break the whole site.

Free Host by French tool

Check an old URL still answers after the migration

Enter the old address: we check live whether it answers, redirects properly or returns a 404.

The check queries this address directly from our servers. No data is kept.

Got a lot of old URLs to check at once?

Request a full crawl
ORDER OF WORK

Diagnosis and fix

PhaseObjectiveA mistake to avoid
ObserveReproduce it and gather the evidenceChanging several settings before you have a baseline
IsolateConfirm the component or the rule responsibleDeleting files without keeping a copy
FixApply the smallest documented changeRestoring a version that still contains the same cause
ValidateTest the whole journey and monitor itConcluding from the home page loading alone

How do I resolve 404 pages after a migration step by step?

The 4 steps below tackle 404 pages after a migration from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.

  1. 01

    Step 1

    Export the 404s from a crawl, the logs and Search Console.

  2. 02

    Step 2

    Sort them into pages to restore, pages to redirect and pages genuinely gone.

  3. 03

    Step 3

    Fix the internal links at source.

  4. 04

    Step 4

    Add direct 301s to the equivalents and keep 404 or 410 for the rest.

If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: recrawl every source of URLs.

Validate the resolution

Test a broad sample of old URLs: each should answer 200, or redirect in a single hop to the equivalent page. Check the canonical, the robots tag and the sitemap on the destination pages too.

Validation checks

Follow the indexing report and the migrated pages' traffic for several weeks: Google swaps the old URLs for the new ones gradually.

Prevent a recurrence

Prevention has to answer the cause you identified. For 404 pages after a migration, the first measure is “Test the old inventory before launch”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.

01 · Preventive measure

Test the old inventory before launch

02 · Preventive measure

Keep the URLs that work

03 · Preventive measure

Automate the comparison

04 · Preventive measure

Watch the logs after the migration

For the next redesign, prepare the redirect table before launch and run a verification crawl on the day.

A practical diagram about 404 pages after a site migration
A marker specific to this article: three steps to turn reading into a decision you can verify.
FREQUENTLY ASKED QUESTIONS

Frequently asked questions about 404 pages after a migration

Does every 404 need redirecting?

No. Only URLs that had traffic, external links or internal links deserve a redirect. A page deleted with no equivalent can return a 404 or a 410.

What is a soft 404?

It is a page showing an error message or empty content while returning a 200 code. Google flags it in Search Console: the page should return a real 404, or useful content.

Do you still fix the internal links if a redirect exists?

Yes. Pointing internal links at the new URLs saves a redirect hop and makes crawling easier.

How do you check the fix will hold?

Recrawl every source of URLs. Check no destination returns a soft 404. Check the navigation, the media and the downloadable files. Then watch the logs, the alerts and the relevant metrics for several days.

ON TO YOUR OWN CASE

How to resolve it

If 404 pages after a migration persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.

Get a diagnosis

Summary with an AI

Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

ChatGPTSummarise the article PerplexitySummarise the article ClaudeSummarise the article CopilotSummarise the article MistralSummarise the article GeminiSummarise the article
THEY TRUSTED US

Client references

See all case studies
Montreuil-sur-Mer logo Data Labcenter logo Sofradom logo 70 Football logo Afrique sur 7 logo CyberJay logo Élisa Reddet logo Foire du Trône logo Goodyvest logo Kincy logo Lhotellier logo Audrey Mégelé du Bourg logo MYF logo
Sine Qua Non logo Make It Happen logo Sonance Audition logo ACME logo Beluvia Bar Store logo Desaltera logo Fête des Loges logo GD Menuiseries logo 3G Immo logo Lavish logo Maison du Feu logo Mieux Fiscal logo MYF Tea logo
Go deeper

Useful articles

See all articles
Illustrated diagnosis: a noindex tag after a redesign
Migration and redesign SEO7 min read

Finding a noindex after a redesign

Find the noindex left after a redesign, in the HTML, the HTTP headers, the templates and the CMS settings.

What they say about working with us

Google reviews about the support we provide for the 404 pages after a migration. page

Google logo 4,8/5 243 verifiable Google reviews Read the reviews
★★★★★
“A WordPress pro. His skills, his grasp of what we needed and his clear explanations made the whole project run smoothly.”
Nicolas Le Couteur Review published on Google
★★★★★
“Always available to answer questions, very professional. Every technical problem we ran into was resolved.”
Cuong Doan Review published on Google
★★★★★
“A professional who listens to his clients. Thank you for the commitment and the time spent on our project.”
Sakina Sedkaoui Review published on Google
★★★★★
“Someone you can trust, who understood my needs straight away and put an effective strategy in place.”
Vincent Loustalot Review published on Google
★★★★★
“Very attentive, motivated and able to propose tailored SEO strategies. The quality of the work is remarkable.”
Marine Mongodin Review published on Google
★★★★★
“Quality work, delivered on time. Maxime is responsive, suggests relevant adjustments and delivers careful work.”
Olivier Opron Review published on Google
★★★★★
“Spot on, perfect work, nothing to fault!”
Robin Gomez Review published on Google
★★★★★
“Maxime adapts very quickly, even to the trickiest technical situations. The result is always there.”
Philippe Bertieaux Review published on Google
★★★★★
“Impeccable work from start to finish, highly responsive and flawless quality.”
Alex Houillon Review published on Google
★★★★★
“The site is fast and visually very good. Maxime also helped us build our SEO strategy.”
Lois Guillermond Review published on Google
★★★★★
“An exceptional developer.”
Honoré Comlan Koumondli Review published on Google
★★★★★
“Maxime showed great professionalism and great creativity in helping us build our charity’s website.”
Julien-Benoit Birman Review published on Google
★★★★★
“A solid understanding of search optimisation when building a WordPress site.”
JM Review published on Google
★★★★★
“Maxime is responsive, a good teacher, and anticipates what is needed to get the strategy right.”
Romain Bergé Review published on Google
Your site deserves better

Let’s talk about your hosting

Tell us about your project. You get a clear recommendation, no jargon and no commitment.

Get my recommendation Reply within 12 hours • Migration handled • Free quote Active infrastructure
Google logo 243 Google reviewsVerifiable public reviews
Find my plan