How to Migrate a Website Without Losing SEO
A website migration means moving your site to a new host, platform, domain, or URL structure. Done carefully, search engines carry your rankings over. Done carelessly, traffic can drop sharply. The difference is almost always planning.
Know what kind of migration you are doing
- Same domain, new host: the lowest risk, since URLs stay the same.
- New platform or CMS: URLs and templates often change.
- Domain change or rebrand: the highest risk, because search engines must transfer trust to a new address.
- HTTP to HTTPS: requires redirects across the whole site. See SSL and HTTPS.
Before you start
Take a full backup of files and database. See website backups.
Crawl and list your current URLs. Use a crawler, your sitemap, and Search Console to build a complete list of pages, including ones with traffic and links.
Record your baseline. Save current rankings, traffic, indexed page counts, and top landing pages from analytics and Search Console.
Decide what to keep. This is a good time to improve or merge weak content, but make those changes deliberately, not accidentally.
Map your redirects
If any URL will change, create a one-to-one map from every old URL to the most relevant new URL, and implement permanent 301 redirects. Redirect to the closest equivalent page, not simply the homepage. See 301 redirects explained and URL structure best practices.
Build and test on a staging site
Test the new site in a private environment first. Make sure it is blocked from search engines while testing, using password protection or noindex. Check:
- Titles, descriptions, and headings carried over. See title tags and headings
- Internal links, images, and structured data
- Mobile layout and speed. See Core Web Vitals
- Forms, checkout, and tracking
- Canonical tags and sitemap
Launch day
- Switch the site live and update DNS if needed.
- Remove any staging noindex or password and make sure robots.txt allows crawling. This is the most common launch mistake.
- Test your redirects with a sample of old URLs.
- Submit the new XML sitemap.
- If you changed domains, use the Change of Address tool in Search Console, where applicable.
- Update links you control, such as social profiles, your Google Business Profile, email signatures, and directory listings. See NAP consistency.
After launch
Monitor closely for the following weeks:
- Crawl errors and 404s in Search Console. See 404 page design
- Indexed page counts
- Rankings and traffic for key pages
- Analytics and conversions
- Speed and uptime
Fix issues quickly. Some fluctuation is normal in the first weeks, but sharp, sustained drops signal a problem.
Keep old redirects
Maintain redirects for as long as possible, ideally permanently for important URLs, since search engines and users take time to update.
Choose timing wisely
Avoid migrating during your busiest season if you can.
Get help for complex moves
Large or high-stakes migrations benefit from experienced support. See questions to ask a web designer.
The bottom line
Plan the URL map, test before launch, redirect everything, and watch closely afterward. Careful migrations keep the rankings you have earned.