Website migration without losing SEO: a step-by-step plan
SEO
Website migration without losing SEO: a step-by-step plan
How to redesign or move a website without losing Google rankings: URL inventory, redirect map, content parity, technical checks, launch day and the first 90 days after migration.
In short
How to redesign or move a website without losing Google rankings: URL inventory, redirect map, content parity, technical checks, launch day and the first 90 days after migration.
You can migrate or redesign a website without losing SEO if every old URL that has traffic or links gets a 301 redirect to its closest new equivalent, the content that ranked keeps its substance, and technical basics such as titles, canonicals and internal links are checked before launch. Most traffic drops after a migration come from missing redirects and deleted content, not from Google "punishing" a new site.
A migration is any change that affects URLs, content or the technology under them: a redesign, a move from WordPress to Next.js, a new domain, merging two sites, or adding languages. This plan covers all of them.
Why rankings drop after a migration
Rankings belong to URLs. When a URL disappears, the signals attached to it (links, history, relevance) go with it unless you tell Google where the page moved. The usual causes of a drop:
Old URLs return 404 instead of redirecting
Redirects all point to the homepage instead of matching pages
Pages that ranked were merged or cut, so the content no longer answers the search
Titles, headings and internal links changed at the same time
The new site blocks crawlers by accident (a leftover noindex or robots.txt from staging)
The new site is slower, especially on mobile
Step 1: inventory every URL that matters
Before anything changes, build a complete list of old URLs. Combine these sources:
The current XML sitemap
A full crawl of the site (Screaming Frog, Sitebulb or similar)
Google Search Console: pages with impressions in the last 12 months
Analytics: landing pages with traffic in the last 12 months
Backlink tools: pages that other sites link to
Put them in one spreadsheet with clicks, impressions, backlinks and conversions. This tells you which pages you cannot afford to lose.
Step 2: decide what happens to each page
Every old URL gets one of four decisions:
Decision
When
What you do
Keep
Page performs and the topic stays
Same URL if possible, or 301 to the new URL
Merge
Several thin pages cover one topic
301 all of them to one stronger page
Rewrite
Topic stays but content is weak
New page with the same intent, 301 from the old URL
Remove
No traffic, no links, no business value
Return 410 or 404, or 301 to a parent page if relevant
Keep URLs unchanged wherever you can. Every redirect is a small risk; an unchanged URL is none.
Step 3: build the redirect map
The redirect map pairs every old URL with its new destination. Rules:
Use 301 (permanent) redirects, not 302.
Redirect to the closest equivalent, not the homepage.
Avoid chains: old URL should go straight to the final URL in one hop.
Handle variations: with and without trailing slash, www and non-www, http and https, upper and lower case.
Keep redirects in place for at least a year, ideally permanently.
In Next.js, redirects go into next.config or middleware. On other platforms, use the server configuration or a redirects plugin. Test the whole map automatically before launch.
Step 4: keep content parity
If a page ranked for a search, the new page must still answer that search at least as well. Keep the main topic, headings and key paragraphs. Improve the content, but do not delete the parts that matched the search intent.
A redesign is a good moment to make thin pages stronger. It is a bad moment to cut long, ranking pages down to three lines because they "don't fit the new design".
Step 5: technical checks on staging
Before launch, crawl the staging site and check:
Every page has a unique title and meta description
Canonical tags point to the live domain, not staging
noindex is removed from all pages that should rank
robots.txt allows crawling on the live domain
The XML sitemap lists only new, indexable URLs
Internal links point to new URLs, not through redirects
Structured data is valid
hreflang is correct for every language version
Page speed on mobile is equal to or better than the old site
Analytics and conversion tracking fire on the new pages
Step 6: launch day
Deploy the new site and redirects together.
Crawl the list of old URLs and confirm every one returns 301 to the right place.
Submit the new sitemap in Search Console.
If the domain changed, use the Change of Address tool in Search Console.
Request indexing for the most important pages.
Check that forms, analytics and conversion tracking work on production.
Step 7: the first 90 days
A short fluctuation in rankings is normal while Google re-crawls the site. What matters is the trend over the next weeks. Monitor:
Search Console coverage: new 404s, "crawled, not indexed" pages, redirect errors
Clicks and impressions per page, compared with the same period before
Rankings for your top 20–50 keywords
Conversions, not just traffic
Fix 404s as soon as they appear by adding the missing redirects. Most problems found in the first two weeks can be fixed before they cost real traffic.
A worked example
A company moves its service website from a page builder to Next.js. The old site has 60 URLs; 22 of them have search traffic, and 9 have backlinks.
40 URLs keep their path, so no redirect is needed.
12 old blog posts are merged into 4 stronger guides, with 301s from all 12.
5 thin location pages are merged into one service page.
3 old pages with no value return 410.
All titles and headings for the 22 traffic pages are kept or improved, not replaced.
After launch, Search Console shows a few 404s from old campaign URLs. They are redirected within a day, and the site recovers its traffic level within weeks.
When to get help
A migration is a project where a small mistake costs months of traffic. If your site brings a meaningful share of your leads from Google, plan the migration with someone who has done it before. We handle migrations as part of website development and SEO strategy, and we cover the technical side in technical SEO in Next.js.
Frequently asked questions
Will I lose traffic after a website redesign?
Not if URLs, content and redirects are handled properly. Small fluctuations in the first weeks are normal; large drops usually mean missing redirects or deleted content.
How long should I keep 301 redirects?
At least a year, and ideally permanently. Removing them later breaks old links and bookmarks.
Can I change the domain without losing rankings?
Yes, with page-to-page 301 redirects, the Change of Address tool in Search Console, and updated backlinks where possible. Expect a temporary fluctuation.
Should I change URLs during a redesign?
Only when there is a clear benefit. Each changed URL needs a redirect and adds risk. If the current URLs are clean and readable, keep them.