← All articlesSEO and AI search · 18 Oct 2026 · 6 min read

How to change your domain or rebuild your website without losing your Google rankings

Changing your domain, moving to a new platform or rebuilding the whole website can wipe out the rankings you have if the move is done wrong. This article sums up the steps in Google's own site move guide, before the move, on moving day and after, along with the mistakes that come up most often.

The rankings your website has in Google are tied to the address of each page (its URL) and to the links on other websites that point to it. When you change your domain, or rebuild the site so the URLs change, Google has to learn the new address of every page. Done right, the rankings follow the pages to their new addresses. Done wrong, the pages that used to sell can quietly drop out of search results.

What kind of move it is decides how much work it takes

Table of four kinds of site move. New hosting where every URL stays the same needs no redirects and no new sitemap. A new site on the same domain with changed URLs needs 301 redirects and a new sitemap. A new domain needs 301 redirects, a new sitemap and Change of Address. Moving from http to https or switching www needs redirects and a new sitemap, but not Change of Address. Below the table: once you redirect, keep the redirects for at least 1 year, and when you change domains, also renew the old domain for at least 1 year.

If you have the choice, don't change everything at once. Google writes that if you move a site and also redesign its content and URL structure, you will probably see some traffic loss while Google relearns and reassesses each page. Move first, let it settle, then rework the content of the pages that rank. That is the safer order.

Before the move

List every old URL

The sitemap alone is not enough. Google's guide suggests four places to look: your sitemaps, the pages that get the most traffic in your analytics or server logs, the pages with links from other sites in the Links report in Search Console, and the list of pages in your content management system.

Record your numbers before you move

Save the search terms, rankings and clicks for each page from Search Console, and the sales for each page from your analytics. Without these numbers, you cannot tell after the move whether a drop came from the move or from something else.

Map each old URL to a new URL, one page at a time

Every old page needs the destination closest to it in content. A product page for something you no longer sell should go to the closest category or brand page. Don't send every page to the home page. Google says this confuses people and may be treated as a page that doesn't exist.

Three made-up URL examples. The right way maps page to page: each old page goes to the new page with matching content, and a discontinued product goes to the closest category page. The first mistake sends every old page to the home page, which confuses people looking for a product, and Google may treat it as a page that doesn't exist. The second mistake chains three redirects before the new page, when it should take one step.

Get the new site ready to let Google in

A new site under testing is often blocked from Google with robots.txt or a noindex rule. Write down every place it is blocked, so you can open all of them on moving day. If you are changing domains, verify both the old and the new domain in Search Console with the same Google account, because Change of Address only works for someone who owns both.

On moving day

After the move

Five mistakes that really do lose rankings

However well a move is done, rankings can shift for a while at first. Google says so itself. The goal of a move is to keep that period as short as possible, with no page lost for good.

Rebuilding your site or changing domains? Get help planning the move.

I map every old URL to its new one, check the new site before it goes live, and watch Search Console after the move. Tell me where your website is today.

Keep reading