Skip to content
Passieon

Site moves: changing URLs without losing search visibility

A site move covers more than a domain change. Switching from HTTP to HTTPS, changing a URL pattern such as page.php?id=1 to /widget, and merging hostnames or domains all change the addresses that people and Google use. Google treats each of these as a move. The goal is to keep the negative effect on your search results small. This guide covers the order of work, the redirects, and the checks that tell you whether the move is going well.

Short answer: A site move changes the URLs of existing pages. Map every old URL to its new address, send each old address to its new one with a permanent redirect, and point the canonicals, internal links and sitemaps at the new URLs. Google must visit every old and new URL before the move counts as complete, and on a medium-sized site that can take a few weeks or longer.

Written by Hamza Rivera. Last reviewed

Hamza works in SEO and GEO/AEO. He writes the Passieon guides and checklists and does the SEO work for the businesses Passieon serves.

Know which changes count as a move

Google names three common kinds of site move. The first is a change from HTTP to HTTPS. The second is a domain change, such as moving from bluepeak.com to bluepeak.net, or merging several domains or hostnames into one. The third is a change to URL paths, such as page.php?id=1 becoming /widget, or page.html becoming page.htm. If you change your hosting and keep every URL the same, Google points to a different guide for that. Start by naming the kind of move you are making, because the steps that follow depend on it.

Change one thing at a time

Plan your changes one after another, not all at once. A new domain, a new content management system and a new layout launched on the same day make it hard to tell which change caused a drop in traffic. Google suggests a simple order: move to the new domain first, then change the layout. Each step then has a single cause to check when something goes wrong.

Time the move for a quiet period

If your traffic is seasonal, or dips on certain weekdays, move the site during the dip. Fewer visitors are affected by any problem, and more of your server resources are free for the crawling that follows. Google also crawls the new site more heavily than usual after a move, because the old URLs now redirect into it. Plan for that extra load before you start.

Test a section first on a large site

On a large site, Google suggests moving one section first. Pick a section that changes rarely and is not hit hard by unpredictable events, such as a news archive during a breaking story. The test shows you how traffic and indexing respond to that section. It does not show the whole picture, because a single section holds fewer pages and fewer problems than the full site. Move the rest in one go or in chunks once the test section looks healthy.

Prepare the new site before anything moves

Set up the new site first. Use the same content management system where you can, and import the content from the old site. Copy the images and downloads you host, such as PDF files, because they may already get traffic or links from other sites. For a move to HTTPS, install and configure the TLS certificate on the server. Write the robots.txt file for the new site so it blocks only what you intend to block. If you used noindex or a blanket robots block while the site was in development, keep a list of the URLs that need those rules removed on launch day.

Return 404 or 410 for content you are not moving

Some old pages will not survive the move. Google says that any old URL with no new equivalent should return a 404 or 410 status code on the new site. Send those addresses an error code rather than the home page, as the section on irrelevant redirects explains.

Keep Search Console verification and settings working

Verify both the old and the new site in Search Console, and verify every variant of each. That means www and non-www, and HTTP and HTTPS if you use both. Keep the verification method working after the move. If you verify with an HTML file, copy that file into the new site. If you verify with a meta tag or an analytics tag, make sure the new copy of the site includes it. Then review the settings you changed on the old site, such as crawl rate, and set them the same way on the new one. If you bought a domain recently, Google suggests checking it for manual actions and removed URLs left by the previous owner.

Build a URL mapping before you redirect

A URL mapping lists each old address and the new address that replaces it. Build the list from several sources: the sitemaps you already submit, the Links report in Search Console, the most visited pages in your analytics or server logs, and a full listing from your content management system. Include images, videos, scripts and stylesheets, because those URLs also need to move. Store the mapping in a database, or as rewrite rules for common patterns. For a domain change where the paths stay the same, a single wildcard redirect may be enough, but check that the paths really do match.

Update the new site so it points to itself

Each new URL should carry a self-referencing rel="canonical" link that names the new address. If your pages use hreflang annotations for other languages or countries, update them to the new URLs. Change the internal links on the new site from the old URLs to the new ones, using the mapping to find them. Save two lists before launch: a sitemap of the new URLs, and a list of the sites that link to your old URLs, which you can find in the Links report. The canonical URLs guide on this site covers the canonical tags in more detail.

Use permanent server-side redirects

Google recommends server-side permanent redirects from each old URL to its new equivalent. Use a 301 or 308 status code. Google describes both as a page that has permanently moved. A 302 or 307 says the move is temporary, so avoid those for a site move. Ask your host which redirect methods you can use. On Apache, that is often a rule in the .htaccess file, and many content management systems have a redirect setting. Google accepts meta refresh and JavaScript redirects, but it offers them as a fallback for when server-side redirects are not possible.

Send each old URL straight to its final address

Avoid chains where one redirect leads to a second and then a third. Google can follow up to 10 hops in a chain, but it advises redirecting straight to the final destination. Chains also add latency for people. If a direct redirect is impossible, keep the chain short, ideally no more than 3 hops and fewer than 5. Check the mapping for chains before you switch the redirects on.

Do not send many pages to one unrelated page

Redirecting many old URLs to the new home page can confuse users, who expect to land on the page they asked for. Google may also treat those redirects as a soft 404 error. Redirect each old page to the most relevant new page instead. If you have merged several old pages into one new page, Google allows redirecting the older URLs to that combined page.

Switch on the redirects and test them

Once the mapping is final and the new site is ready, turn on the redirects. Test individual addresses with the URL Inspection tool in Search Console. For many addresses, use a command-line check or a crawler such as Screaming Frog to see where each old URL ends up. Also confirm that the canonical tags and any noindex rules on the new site now point to the new URLs and no longer carry the launch-day blocks. Check the robots.txt file on the new site as well.

Use Change of Address for domain moves only

When you move to a new domain or subdomain, submit a Change of Address in Search Console for the old property. Google says you need this only for a move from one domain or subdomain to another, such as bluepeak.com to bluepeak.net, or a.bluepeak.com to b.bluepeak.com. You do not need it for an HTTP to HTTPS move, a switch between www and non-www on the same domain, or a move of paths within one domain. For a domain move, submit a request for every verified variant of the old domain, including subdomains and the www and non-www versions.

Keep the redirects for at least a year

Google suggests keeping redirects for at least one year, because that gives it time to transfer signals to the new URLs, including reassigning links from other sites. Redirects also slow visits down, so update your own internal links and the high-traffic external links to the new addresses. From a visitor point of view, Google suggests you consider keeping redirects indefinitely.

Submit the new sitemap and watch the reports

Submit the sitemap of new URLs in Search Console, and remove the old sitemap, since Google will use the new one going forward. During the move, the old sitemap will show warnings about redirecting URLs. Google says those warnings are normal and can be ignored, because the URLs really have moved. Over time, the old sitemap should show fewer indexed pages while the new sitemap shows more. The Index Coverage report should show the same shift. Expect visibility to move around for a while, because Google crawls and reindexes each URL on its own schedule.

Avoid the common mistakes

Four mistakes show up again and again. The first is a noindex tag or a robots.txt block that was only needed during the move and was never removed. The second is a redirect that points to a page that does not exist on the new site. Look for an unusual number of not found errors in Search Console, or crawl the old URLs yourself. The third is a new server that cannot handle the crawling Google does after the move. The fourth is a sitemap that still lists old URLs. Check each of these on launch day.

A worked example with a made-up bike shop

Imagine a bike shop that moves from HTTP to HTTPS and from one domain to a new domain. The team first maps 1,200 product pages from the sitemap, the Links report and a month of server logs. They find that 40 old category pages have no equivalent, so those return 404 on the new site as planned. They set up 301 redirects straight to the final addresses, remove the launch-day noindex tag, and submit the Change of Address request for the old domain. One redirect target has a typo, which URL Inspection catches on the first test. The example is invented, and it shows the method only. Your own numbers will differ.

Know when the move is complete

Google considers a site move complete once it has visited every old URL and every new URL at least once. There is no fixed crawl frequency, so a large site takes longer. Track the move as a set of checks rather than a single date: the mapping is complete, every old URL redirects to its final address, the new canonicals and sitemap match, the Change of Address request is done if the domain changed, and the reports show the shift from old to new. The XML sitemaps guide on this site explains the sitemap format if you need it for the new site.

Related help

Sources for technical rules

Google's documentation is the authority for its own search systems. This guide explains the work in our words.

Book a call with us

A 30-minute call in your working hours. Tell us what you sell and where, and we will tell you what we would do first and what it involves. Prefer email? Send your website through the form and the Passieon Team will reply by email.

Book a call

Message us

Message us

Ask anything about your site or where your inquiries are going. It goes straight to a person, not a bot. Leave an email and you get a reply.