deindexwebsites.com

Retired domains, migrations, networks

Site Migration Cleanup: What to Do With the Old Domain in Google

After a domain migration, the instinct is to deindex the old site. Usually that is the wrong move. Redirects, not removals, are what transfer your search presence, and the old domain needs to be kept alive to do it.

By the deindexwebsites.com editorial team · Updated

Migration is not deindexing

When a site moves, you want the old URLs to be replaced in search by the new ones. Google's site move documentation recommends server-side permanent redirects, such as 301 or 308, from old URLs to new ones. If you instead block or remove the old domain, you cut the path that lets Google connect old and new. That documentation also says the redirects should be kept for as long as possible, generally at least one year.

What the old domain should do

ComponentCorrect treatmentWrong treatment
Old URLs301/308 to the matching new URL, one hopRedirect all to the homepage
Old robots.txtAllow crawlingDisallow: / (Google cannot see the redirects)
Old sitemapOptional list of old URLs to prompt recrawlsLeave stale for years
NoindexNot presentSite-wide noindex on the old site
Search ConsoleVerified, Change of Address submittedUnverified and forgotten
HostingActive until redirects are no longer neededCancelled at launch

The Change of Address tool

The Change of Address tool is for moving between domains or subdomains. Google's move guide says it is not needed for HTTP to HTTPS, www to non-www, or path changes within a domain. For domain migrations, it recommends submitting requests for all verified variants of the old domain, including subdomains and www/non-www versions. It is a hint that supports the redirects, not a replacement for them.

A clean sequence

  1. Map every old URL to its closest equivalent on the new site.
  2. Implement 301/308 redirects at the server or edge, avoiding chains. Send each old URL directly to its final destination.
  3. Verify both old and new domains in Search Console.
  4. Submit the new sitemap, and optionally a sitemap on the old domain listing old URLs.
  5. Use Change of Address for each verified old variant.
  6. Monitor both properties. Google's guide notes Googlebot must visit every old and new URL at least once for the move to be considered complete, and that small and medium sites may take a few weeks for most pages to move, with larger sites taking longer. Rankings may fluctuate and then settle.

When leftover old URLs need removal

Even a clean migration leaves oddities. Some old URLs have no equivalent, some are junk, some are admin or test paths that were indexed. For those:

  • If there is a relevant new page, redirect to it.
  • If not, return 410 or 404, and do not redirect to the homepage.
  • If a specific old URL is showing sensitive content, use a temporary removal plus the permanent signal.

Keep these exceptions few. Wholesale deindexing is a different project that belongs on a retired domain, see retire an old domain.

Monitoring the transition

Use two views.

  1. Old property: watch indexed page counts decline and impressions fall as new URLs take over.
  2. New property: watch indexed pages rise and confirm Google picks the new URLs as canonical.

If the old domain still appears for important queries after several weeks, inspect a few old URLs with URL Inspection and check that each returns a single clean 301 to the right place, that the target is indexable and not noindexed, and that robots.txt on the old site is not blocking the crawl.

Common migration mistakes

  • Launching the new site with a staging noindex still in place (see recovery)
  • Blocking the old domain in robots.txt, so the redirects are never seen
  • Redirect chains through HTTP, www and several path rewrites
  • Redirecting by wildcard to a generic page
  • Letting the old domain lapse within weeks
  • Forgetting subdomains and the non-www variant of the old domain
  • Not updating internal links and canonicals on the new site, leaving references to the old domain

After a year

Google suggests keeping redirects at least a year. Beyond that, keep them as long as old links and traffic justify. Check your logs: if the old domain still receives meaningful visits, retire it later. When you do finally retire the domain, you are in the territory of parked and expired domains and should decide deliberately whether to renew it.

Special case: merging two sites

If two sites merge, treat each old domain as its own migration with its own redirect map. Do not point both at one generic page.

Worked example: a two-hop mess

A company moved from old.example to new.example and set up redirects, but traffic from search never transferred. Inspection showed that http://old.example/page redirected to https://old.example/page, which redirected to https://www.old.example/page, which finally redirected to the new site's homepage. Three hops, ending on the wrong destination. The fix was a single rule at the edge sending every old variant straight to the matching new URL, plus an old-site robots.txt that no longer blocked crawling. The lesson is that redirect quality, not removal, decides whether a migration works.

Pre-launch redirect test

  • Ten sample URLs from each section redirect in one hop
  • Old robots.txt is permissive
  • Old HTTP, HTTPS, www and non-www all redirect correctly
  • New site has no noindex and no blanket robots block
  • Internal links and canonicals point to the new domain

Frequently asked questions

Should I use the Removals tool after a migration?

Generally no. It hides results and does not transfer anything. Use it only for individual old URLs that should not appear.

Is noindex on the old domain okay if I redirect?

No. A redirecting URL does not carry a page-level noindex, but a site-wide noindex header on the old host can interfere with the move. Keep the old site clean and crawlable.

How long should redirects stay?

Google says as long as possible, generally at least one year.

Do I need Change of Address for HTTPS?

No, according to Google's move guide.

Official sources

Keep reading