Search rankings take years to build and days to lose. A site migration touches every part of that foundation: URLs, server responses, internal links and page speed. Daniel Okonkwo has watched small businesses move hosting overnight and lose half their organic traffic within a week. The good news is that most of that damage comes from a handful of predictable mistakes. This guide walks through the steps that keep your rankings intact while you move platforms, hosts or domains.
Why site migration goes wrong for search rankings
Search engines index the exact URL of every page on your website. When a site migration changes that URL without a proper redirect, Google treats the new page as unrelated content. A 301 redirect signals that a page has been permanently moved, passes link equity to the target URL, and works well for site migrations, permalink changes and consolidating duplicate content. Without it, rankings and backlinks can disappear within days.
However, many site owners treat migration as a simple copy and paste job. For example, moving from Joomla or Squarespace to WordPress often changes the whole URL structure. Migrating from a non-WordPress platform to WordPress often involves a different URL structure, and this matters most when the old site used a different permalink structure. Then, deleting old pages without redirecting them breaks links that search engines already trust.

Planning your site migration before you touch anything
Good planning starts with a full map of your existing site. First, list every live URL and note its destination on the new site. Create a spreadsheet, document each old URL and its new equivalent, and group them by category such as blog posts, product pages and landing pages. This record becomes the checklist you follow through the entire move.
Next, capture performance data before anything changes. Record the last three to six months of organic sessions, conversions and revenue, and capture the top queries and average positions for your best landing pages. This baseline lets you spot a real problem later, rather than guessing. Finally, run complete backups of your database, files, themes and plugins before you begin any hosting change.
A migration plugin can remove much of the manual risk from this stage. Duplicator, for example, packages your files and database into a single archive for transfer to the new host. It is built to be the best WordPress backup and migration plugin, and the only migration and backup plugin that works on an empty site. Also, check that your SEO plugin settings export cleanly, since Yoast and Rank Math both export configuration to a file for re-import, which saves you from rebuilding metadata by hand.

Redirects and technical steps during site migration
Once the new site is live, redirects become the priority. Each old URL needs a direct 301 redirect to its closest match on the new site. Always redirect the original URL directly to the final destination, rather than through several hops. Then, update every internal link on the site to point straight to the new address, since 301 redirects handle traffic from external sources, but internal links still need updating separately.
After redirects are live, update the technical files that search engines rely on. Update the XML sitemap to reflect the new URLs, and update the robots.txt file so it does not block important resources by accident. Meanwhile, confirm that canonical tags on each page point to the new URL rather than the old one.
For domain changes specifically, Google Search Console offers a dedicated tool. Filing a change of address request tells Google to emphasize crawling and indexing the new site, and it forwards signals from the old site so Google prefers the new site when choosing canonical pages. However, the tool runs a quick check before sending the move request, confirming site ownership and checking for 301s on a few pages. So your redirects must already work before you submit the change.
What to check after site migration finishes
Migration does not end when the new site goes live. Monitor keyword rankings in Google Search Console to see if the migration affected them, and check for crawl errors so you can fix them quickly. Also, test a sample of redirects manually in a browser to confirm they lead to the right page.
Expect some fluctuation while search engines process the change. These signal transfers continue for 180 days after you start migration in Search Console. Therefore, patience matters as much as technical accuracy during this stage. Finally, keep the old hosting account active for a few weeks in case a redirect rule needs adjusting.
Site migration protects the rankings you have earned
A careful site migration protects years of search visibility instead of gambling with it. Map your URLs, run proper backups, set up redirects and confirm every technical detail before you flip the switch. The change of address tool and a solid migration plugin remove much of the manual risk, but they cannot replace a checklist. If you plan to move your WordPress site this year, treat the site migration as a project rather than an afternoon task, and your rankings should survive the move intact.




