Website Migration SEO: Move Without Losing Rankings
Website migration SEO step by step: map every URL, set permanent redirects, tell search engines, and monitor so your rankings survive the move.
A new website can quietly undo years of search visibility. Pages that ranked return errors, links from other sites point at nothing, and traffic drops for months. Nearly all of that is avoidable. Website migration SEO comes down to one discipline: every old URL that matters gets a clear, permanent path to its new home, and search engines are told about it.
This is the process we follow, based on Google's own documentation for site moves.
First, know which kind of move you are making
Migrations come in different sizes, and the risk scales with them:
- Hosting change only. Same domain, same URLs, new servers. The lowest risk.
- Platform or design change with URL changes. New CMS, new URL structure, same domain. Common in redesigns.
- Domain change. example.com to example.net, or a rebrand to a new name. The highest risk.
- Protocol change. HTTP to HTTPS, technically a URL change for every page.
Many projects combine several. Each extra change makes problems harder to diagnose, so where possible, avoid changing the domain, structure and content all at once.
Step 1: inventory every URL that matters
Before anything is built, list the old URLs. Google suggests using your sitemaps, server logs and analytics to find them. In practice, combine:
- The current XML sitemap.
- Every page that received search traffic in the last year, from Search Console.
- Pages that other websites link to.
- PDFs, images and other files people find directly.
Mark the pages that bring in leads or sales. Those get checked by hand at launch.
Step 2: map old URLs to new ones
Build a spreadsheet with two columns: old URL, new URL. Each old page should point to the most relevant new page.
Google warns against redirecting many old URLs to one irrelevant destination such as the homepage, which can be treated as a soft 404. Pointing several old pages at one new page is fine when you have genuinely merged their content. If a page has no equivalent at all, let it return a 404 or 410.
A few rows from a hypothetical accounting firm's map show the three cases:
- `/services/tax-prep.html` to `/services/tax-preparation`: a one-to-one move.
- `/blog/2019-tax-tips` and `/blog/2020-tax-tips` to `/resources/tax-tips`: two thin posts merged into one current guide.
- `/events/2018-seminar`: no equivalent, so no redirect and a 410.
For a large site, write pattern rules for whole sections (every `/blog/` URL keeps its slug under `/journal/`, for example) and list only the exceptions by hand.
Update the new site to match: self-referencing canonical tags, updated hreflang if you run multiple languages, and internal links that point straight at the new URLs instead of relying on redirects.
Step 3: set permanent redirects
Google recommends server-side permanent redirects, HTTP 301 or 308, where possible. Its documentation explains that permanent redirects are a signal that the target should be treated as canonical, while temporary redirects (302, 303, 307) are not. Instant meta refresh redirects are treated as permanent, delayed ones as temporary, and JavaScript redirects should be a last resort because rendering can fail.
Other rules from Google's guidance:
- Redirect straight to the final destination. Where a chain cannot be avoided, Google's advice is to keep it short, ideally no more than three hops and fewer than five.
- Keep redirects for as long as possible, generally at least one year. Google suggests considering keeping them indefinitely for the sake of visitors who follow old links.
- Ask the sites that link to you to update their links, starting with the ones that send the most visitors, and update your own social profiles, directory listings and ad campaigns.
Step 4: prepare the new site before launch
The most common launch-day failure is a new site that still blocks search engines from its staging days. Check:
- robots.txt on the new site allows what you want crawled. Google specifically calls this out.
- No leftover noindex tags on live pages.
- TLS certificate in place if you are moving to HTTPS.
- Page titles, meta descriptions and headings carried over or improved, not lost.
- Speed. A migration is a chance to fix Core Web Vitals, and a risk if the new site is slower.
Step 5: launch and tell the search engines
On launch day:
- Switch on the redirects and test a sample of old URLs, starting with your top pages.
- Verify the old and new sites in Google Search Console, including www and non-www, HTTP and HTTPS variants.
- If you changed domain, use Search Console's Change of Address tool. Google says it is only for domain or subdomain moves, and is not needed for an HTTP to HTTPS switch or for path changes on the same domain.
- Submit the new XML sitemap.
- For Bing and other engines that support IndexNow, submit changed URLs. The IndexNow documentation says to include redirected URLs and pages that now return 404 or 410.
For a hosting-only change, Google's guidance is different: lower your DNS TTL to a few hours at least a week before, test the new host on a temporary hostname, then switch DNS. Google notes it is normal to see a temporary drop in crawl rate right after launch, which recovers over the following days. Keep the old host running until its traffic reaches zero.
Step 6: monitor for the next few months
Google says that for medium-sized sites it can take a few weeks or more for the new URLs to replace the old ones in results, and longer for large sites. Some ranking movement in that window is normal.
Check weekly:
- Search Console page indexing: old URLs falling, new URLs rising.
- Crawl errors and unexpected status codes in server logs.
- Search traffic to your top pages, compared with the same weeks before launch.
- Leads and sales from organic search, which matter more than raw traffic.
If a key page drops and stays down, check its redirect, its content and its internal links first.
Mistakes that cost the most
- Launching without a redirect map, then trying to rebuild it from memory.
- Redirecting everything to the homepage.
- Removing redirects after a few months to "clean up."
- Changing domain, URLs and every page's content in one go.
- Leaving the staging robots.txt or noindex in place.
Timing matters too. Google suggests moving during a quieter traffic period if you can, so a retailer should avoid migrating in the middle of the holiday season.
How we handle migrations at Pinn.Media
Every site we rebuild goes through a redirect map, a pre-launch crawl and post-launch monitoring, as part of the build and on the stack we use. If you are planning a redesign, start with our website redesign checklist, then book a discovery call and we will look at what your current site has earned and how to keep it.