How to Change Your Domain Without Losing SEO
By Carmelo Cutrone · Updated
The short version
- Rankings move with you if every old URL points to its equivalent. One 301 redirect per page, not everything to the home page.
- Search Console has a tool for this. Change of Address tells Google your site has moved. Use it after the redirects are live.
- A temporary dip is normal. Google reprocesses a medium-sized site in a few weeks, a large one takes longer.
- Never let the old domain expire. The redirects live there: if the domain lapses, they disappear with it.
- Change one thing at a time. A new domain and a new site on the same day make it impossible to tell what caused a drop.
For the URL inventory and the redirect map, use the free website migration plan template: it flags duplicates, chains and missing targets on its own.
Before you start: what actually changes
Changing your domain means moving the whole site from one address to another: from oldbrand.com to newbrand.com, from a .co.uk to a .com, or to a new name after a rebrand. To Google it is a new site until it understands that the old one has moved there. The SEO work is about making that obvious, page by page.
A domain change is not the same as transferring your domain to another registrar, for example from GoDaddy to Namecheap. In that case the address stays the same and your rankings are untouched: only the company that bills the renewal changes.
The simplest case is when only the domain changes and every path stays the same: oldbrand.com/contact/ becomes newbrand.com/contact/. If you also change the URL structure, the platform or the content at the same time, the risks add up. If you can, split the work: the domain first, the rest a few weeks later.
The steps
Save your baseline. Export the last 3 months of queries and pages from Search Console, and landing pages from your analytics. After the move, this is how you will know if you are losing anything.
Build a URL inventory. Collect every URL of the old domain from sitemaps, a crawl, Search Console and pages with backlinks. A crawl alone misses orphan pages that still get visits or links.
Set up the new domain and verify it in Search Console. Add the new domain as a Domain property. Verify the old one too, with all its variants: with and without www, http and https.
Prepare the redirect map. Every old URL goes to its equivalent on the new domain, with a server-side 301. If the paths do not change, one rule that keeps the path is enough. If they change, you need a row-by-row map.
Update everything inside the site that points to the old domain. Internal links, canonicals, hreflang, structured data, images, sitemaps and robots.txt. A site that keeps linking to the old domain sends every internal click through a redirect.
On launch day, switch on the redirects and tell Google. Spot-check that old URLs return a 301 to the right page. Then use Change of Address in the old domain's property, and submit the new sitemap in the new one.
Update everything outside the site. Google Business Profile, social profiles, email signatures, Google Ads, Merchant Center, product feeds and analytics. Then ask the sites that link to you most to update their links.
Monitor for at least 30 days. Compare clicks, impressions and indexed pages with your baseline. In the Pages report, indexed URLs should go down in the old property and up in the new one.
What to update, and where
| What | Where | When |
|---|---|---|
| 301 redirects | Server or hosting of the old domain | Launch day |
| Change of Address | Search Console, old domain property | Right after the redirects |
| Sitemap | Search Console, new domain property | Launch day |
| Site URL | CMS settings | Launch day |
| Internal links, canonicals, hreflang | Content, theme, SEO plugin | Before launch, on staging |
| Property and data stream | Google Analytics | Launch day |
| Final URLs of your ads | Google Ads | Launch day |
| Website and product feed | Merchant Center | Launch day |
| Business website | Google Business Profile | Launch day |
| Top backlinks | Email to the sites that link to you | In the following weeks |
The Change of Address tool in Search Console
You find it in the settings of the old domain's property. It only works if you are a verified owner of both properties with the same Google account, and only for domain-level moves.
It is not needed, and should not be used, to move from http to https or from www to non-www on the same domain: redirects and canonicals are enough for those. It does not work for moving a subfolder either.
Before it accepts the request, the tool checks that the old home page returns a 301 to the new domain. The move notice stays visible in Search Console for 180 days.
How long Google takes
Rankings can fluctuate for a while as Google reprocesses the site. A medium-sized site usually needs a few weeks before the new URLs replace the old ones, a large one longer. An up-to-date sitemap speeds things up.
A small dip in the first weeks is normal. A drop that is still there after a month, or that hits specific pages, usually has a technical cause: wrong redirects, pages sent to the home page, canonicals still pointing to the old domain, or a noindex left over from staging. A 301 redirect on its own does not make links lose value.
How long to keep the redirects and the old domain
Google asks you to keep the redirects for at least 180 days for the Change of Address tool, and in general for at least a year, longer if the URLs still get traffic. My advice is simpler: keep the old domain renewed forever. It costs a few dollars a year, it keeps the backlinks nobody will ever update, and it stops someone else from buying it and riding on your old reputation.
If your site runs on WordPress
On WordPress a domain change touches the database, because URLs are stored inside posts, menus, widgets and plugin settings.
Change the site URLs in Settings › General: WordPress Address (URL) and Site Address (URL). If they are greyed out, they are set in wp-config.php.
Replace the old domain in the database. With WP-CLI, after a backup:
wp search-replace 'https://www.olddomain.com' 'https://www.newdomain.com' --skip-columns=guid --all-tablesOr use a plugin such as Better Search Replace. Do a dry run first (with WP-CLI, add --dry-run) and check how many rows will change.
If you use Elementor, go to Elementor › Tools › Replace URL, then regenerate the CSS files from the General tab of the same page.
Put the redirect on the old domain. On an Apache host, in the old domain's .htaccess:
RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC] RewriteRule ^(.*)$ https://www.newdomain.com/$1 [R=301,L]The rule keeps the path: every page goes to its twin, not to the home page.
Check your SEO plugin. Sitemaps, canonicals and structured data must show the new domain. Clear the site cache and the CDN cache.
If your site runs on Shopify
On Shopify the change is simpler, because the paths stay the same and the platform handles redirects between domains. Connect the new domain, set it as the primary domain and keep the old one connected: Shopify redirects connected domains to the primary one, page by page.
The rest is on you: Change of Address in Search Console, the new domain's sitemap, Merchant Center, feeds, ads and external links. If you are also moving to Shopify from another platform at the same time, it is a full migration: every path changes and you need a real redirect map. The Shopify redirects guide explains how to import it.
The mistakes that cost rankings
Sending everything to the home page. It is the quickest redirect to set up and the most expensive one. Google treats those redirects as missing pages, and the rankings of your inner pages are lost.
Letting the old domain expire. The redirects go with it, and so does the value of the backlinks that pointed there.
Changing domain, design and structure on the same day. If traffic drops, you no longer know which of the three caused it, and fixing it becomes guesswork.
Forgetting a variant. The redirect works on https://www but not on http:// or without www. Those variants often carry old backlinks.
Pushing the staging block to production. A noindex or a robots.txt that blocks everything, left over from staging, empties the index in a few days.
Skipping Change of Address. Redirects work on their own, but the tool makes the signal explicit and speeds up the move.
I have worked on every kind of domain change, for different clients: rebrands, moves from a country domain to a .com, two sites merged into one. There is always a dip in the first days. If the work is done properly it is temporary, and after a week or two the site picks up again. The most expensive mistake is treating a domain change as a purely technical job and forgetting SEO: the rankings are lost and you start again from zero, like a brand-new site.
Carmelo Cutrone, SEO Specialist
FAQ
Want to change your domain without the risk?
Rankono builds the URL inventory and the redirect map, checks the site before launch, follows the switch and monitors the 30 days after. The SEO migration plan starts at €990 for up to 500 URLs, at a fixed price agreed before work starts. Everything in writing, with replies within 12 business hours (CET).