How to Move a Website to a New Domain and Preserve Old URLs

Map old URLs to new pages, prepare HTTPS and canonical tags, and verify a domain move in Search Console without discarding useful old links.

FBFenwei BianAuthorNov 24, 2026
  • domains
  • web-hosting
  • seo
  • redirects

Moving a website to a new domain changes every public URL, even when the page paths stay the same. Build the new site, make a map from old URLs to equivalent new pages, and test the destinations before enabling permanent redirects. Once both sides work, tell search engines where the site moved. Keep the old domain registered and the redirects reachable.

A move like this touches the website and its old address. A registrar transfer changes who manages the registration of an existing name. Keeping those projects separate leaves fewer changes to troubleshoot on launch day.

Make a URL map before the cutover

Start with the old sitemap, useful pages from search and access logs, and links that people use in emails or documentation. Include alternate old hosts where the site served traffic, downloadable material, and localized pages. For each useful old URL, decide which new page answers the same request. Use the final destination in your map, with the new hostname and correct path.

Old requestDestination or resultWhy
old.example.com/pricingnew.example.net/pricingThe new pricing page answers the same question.
old.example.com/guide/setupnew.example.net/docs/setupThe setup guide moved to a different path.
old.example.com/events/2018410 Gone if there is no replacementThe event page is gone and the homepage would mislead visitors.

Google's URL mapping guidance recommends equivalent destinations and direct permanent redirects. For parameters, decide which ones the destination needs. Test a filtered public page, a download link, and a link with attribution parameters with their expected destinations.

Publish the new pages and verify the old HTTPS entry points

Before launch, inspect the new site on its intended public hostname. Each page should serve the expected content and status, work over HTTPS, and use the intended new URL in its canonical declaration. Update internal links, sitemap URLs, and any localized alternate links. Remove temporary crawl or index restrictions used during staging.

Enable a server-side 301 or 308 on each old URL when the new destination is ready. Keep HTTPS certificates valid for the old hosts. A visitor who opens an old HTTPS link needs a successful TLS connection before receiving a redirect. The domain forwarding guide explains what happens to paths and parameters at the redirect itself.

Test an old link from a fresh browser and check the response chain. The expected result is a redirect directly to the new page, followed by a successful response containing that page. A request for a retired URL should produce its planned status. Repeat this check for the high-value URLs and each old hostname.

Record what Search Console sees after launch

Verify control of the affected properties. For an eligible change between domains or subdomains, submit Change of Address after the move and redirects are working. Google gives different instructions for HTTP-to-HTTPS moves and changes between www and non-www on the same domain. Submit the new sitemap and track selected old and new URLs in Search Console.

Keep an eye on redirect errors, unmatched URLs with incoming links, and pages that still name an old canonical. Search visibility can fluctuate while Google recrawls a move. Google recommends keeping redirects generally at least one year. Old links can keep sending visitors after that point, so decide when to retire an address based on the links and services that still depend on it.

Sources and further reading

About the author(s)

Software Developer & Writer • Namefi
FBAuthor

Fenwei Bian is a software developer in her thirties who spends her working hours in pull requests and her weekends with her hands in soil or sawdust. Years of open source on GitHub taught her that names are interfaces: a good one is clear, honest about what it does, and kind to whoever has to use it next.

She gardens because it rewards patience and punishes wishful thinking, and she does woodwork because a joint either fits or it doesn't. Both habits show up in how she writes about naming — measure twice, check the source, and don't sand over a rough spot and hope no one notices.

For Namefi she writes about how domain markets actually move, the practical trade-offs of tokenizing and flipping names, and picking a domain you'll still be glad you own in twenty years.

Related guides

Discuss this post

View the discussion on Namefi Discuss