How to preserve SEO performance during a website migration

  • Published
  • Updated
  • Reading time 6 min.
A blue bridge connects pages from the old and new websites

Before moving a website, identify the pages that bring in search traffic and decide what will happen to each important URL. After launch, check where old URLs actually redirect, whether the new pages can be indexed and whether they still contain the information visitors need. Even a well-planned move can cause temporary ranking fluctuations while Google crawls the site again and processes the changes. Google’s guide to site moves.

Agree on what will change before the move

If you are only changing servers and the public URLs stay the same, the move itself does not require new 301 redirects. Check DNS, HTTPS, responses from the new environment and server logs. A domain or URL structure change requires a separate task: assign a destination to each changed address and test the redirect. When you change the content management system (CMS) or navigation, internal links, headings or fields that feed structured data can disappear even if the URLs stay the same. Google’s guide to changing hosting.

Where possible, separate the domain move from a redesign or content overhaul. If they must launch together, decide in advance who will check URLs, who will test forms and checkout, who can halt the launch and where the team will log issues. Plan how to preserve orders and form submissions received after launch if you need to restore the previous environment.

Save the data you will need after launch

Crawl the live website before moving it. Record each URL, HTTP status, title, H1, declared canonical, indexing directives, internal links and language equivalents if you use hreflang. Save sample HTML and structured data for important templates. After launch, you can then check whether a product page lost its price in structured data even though visitors can still see it.

Add URLs from XML sitemaps, Search Console, GA4, backlink reports and server logs if available. These sources help uncover old addresses that people still reach through search or external links, even when the current navigation no longer includes them. Record organic clicks, impressions, positions and query–page pairs. If you measure orders or enquiries, save those figures by the landing page where the organic visit started.

Prepare a short list of priority URLs for launch day. Include pages that generate revenue or enquiries, have substantial organic visibility or attract valuable backlinks. If the old site is already offline, reconstruct the baseline from Search Console history, old sitemaps, backups and previous crawls. Document which data you could not recover.

Map old URLs by page purpose

For each old URL, record the intended action, final address, expected HTTP response and test result. A URL that stays in use should normally continue returning 200. Use a server-side 301 or 308 when content permanently moves to an equivalent page. If several pages were genuinely merged, redirect them to the page that preserves their useful information. Return 404 or 410 for removed content with no suitable replacement.

Example URL map for an unchanged, redirected and removed page

Choose the destination based on what visitors expect to find. A discontinued product can redirect to a genuine replacement that serves the same purpose. For an item that is temporarily out of stock, it often makes sense to keep the page, show its availability and suggest related products. Google may treat mass redirects from unrelated URLs to the homepage as soft 404s.

Review parameterised URLs as well. A filtered category page that attracts searches for “black winter boots” may warrant an equivalent product selection after migration. Sorting or tracking parameters serve a different purpose. Consider what each parameter changes and whether the resulting URL had search value of its own. Google’s guidance on faceted navigation.

Check where existing redirects lead

A chain occurs when an old URL redirects to an address from an earlier migration, which redirects again to the current page. A loop occurs when a redirect returns to a previously visited address and the visitor never reaches the page. Update legacy redirects to point directly to the final URL.

Comparison of a redirect chain, a loop and a direct redirect

After launch, crawl the old URLs against the public website. Record the first HTTP response, the number of redirects and the final address for each important URL. Expect a single 301 or 308 to the intended, indexable page returning 200. Test variants that people actually used, including trailing slashes, encoded characters and parameters. A rule that works for the exact address in the spreadsheet can miss these variants.

Check the new site before launch

Protect staging with authentication or another access control. Document the directives that should apply on the public site. After publishing, check both the HTML robots tag and the X-Robots-Tagresponse header. If robots.txt blocks crawling, Google may never see an otherwise correct indexing directive.

Write development tickets around observable results. For example, a product URL without parameters should return 200 and its canonicalshould match that URL. A sorted variant should follow the agreed canonical rule. Internal links, the XML sitemap and hreflang should point to final URLs. Confirm that a test enquiry reaches its destination, and test the entire checkout and its measurement on ecommerce sites.

If the new CMS was built from a snapshot, plan how to transfer price, product and copy changes made since that snapshot. Before launch, check manually configured canonicalvalues, SEO titles and structured data fields. A new template can generate them differently even when the page looks right. SeoRocket’s website migration service.

Monitor the site after launch

Put dates and owners in the launch plan. Use this schedule as a starting point. A larger site may need more frequent checks and more time for search engines to crawl the new URLs.

Website migration checks on days one, seven, fourteen and thirty
  • Day one. Crawl the priority old URLs and test redirects, 4xx and 5xx responses, indexing directives, forms and checkout.
  • Around day seven. Check whether Google has discovered and crawled the new pages. Review indexing in Search Console and inspect Google’s chosen canonical for the most important URLs.
  • Around day fourteen. Compare the same queries and their destination pages. If a new page shows for different queries, check whether it still serves the original purpose.
  • Around day thirty. Compare organic clicks and conversions by category or site section. Overall traffic may hold steady even as a section that generates revenue loses visitors. Use periods of equal length to compare rankings and traffic. For seasonal demand, also check the equivalent period last year.

When you change domains, verify both properties in Search Console, submit the new XML sitemap and use the Change of Address tool where applicable. Google recommends keeping redirects for at least one year. Keep important redirects longer when people still use the old links.

What to fix first if organic traffic has dropped

Find the section that lost the most valuable clicks or enquiries. Test several pairs of old and new URLs from start to finish. If pages that disappeared from search have an unintended noindex, redirect to a generic category or return a server error, fix the specific fault and repeat the test. If GA4 traffic has fallen but Search Console clicks follow a similar trend to before, check the analytics implementation and consent settings.

Once the technical checks pass, compare what visitors could find on the old page with what they can find today. Review the product selection, important headings, internal links and queries that previously brought people to the page. Share a list of affected URLs with the team. For each one, record what you checked, who owns the fix and when you will measure again.

About the author

Lukas Juodagalvis
Lukas Juodagalvis SeoRocket.lt

Specialises in end-to-end SEO, from strategy to technical implementation and website migrations. His experience includes projects in Lithuania and more than 20 markets, working with brands such as Cedral, Eternit, Euronit, Siniat, Promat and Skamowall.

Articles by this author
Next article What to include in a WordPress maintenance plan What to include in a WordPress maintenance plan Read