Changing your website without losing Google rankings or advertising data
Changing a website does not lose Google rankings when every old URL is redirected with a permanent redirect (301) to the corresponding new URL and the redirects stay in place for at least a year. Rankings are lost for three reasons: the old URLs return a 404 error, everything is redirected to the home page, or the new website still carries a no-index block from the staging environment. Advertising data is preserved separately: the same pixel and Google Analytics IDs, the same product IDs in the feed and updated URLs in the ads.
Prepared by Hristiyan Panov, founder of Hpanov-Digital, a performance marketing consultancy with over 5 years of experience and over €2 000 000 in managed ad spend for more than 90 companies on Google and Meta. Last checked: 15.11.2026.
Why do websites lose rankings when they change?
Google stores accumulated signals by URL. When a URL disappears without pointing to a new one, the signals disappear with it. According to Google’s documentation, temporary ranking fluctuations are normal during a move, and for a medium-sized website it takes several weeks or more for the new URLs to replace the old ones in the results. The fluctuation is expected. A lasting loss is the result of a gap in preparation.
What is prepared before the change?
- A list of the old URLs. From the sitemap, from Search Console (pages with impressions) and from the advertising accounts (the URLs that ads point to).
- A table mapping old URLs to new URLs. Every old URL gets the new one closest in content. Product to the same product, category to the same category.
- Preserved titles and copy on the strong pages. The pages that bring the most search visits are not rewritten on the day of the move.
- A copy of the old website. A full archive of the files and the database, so there is a way back.
How are the redirects done?
At server level, with a permanent 301 or 308 code. Google recommends server-side redirects, and JavaScript redirects only when the other methods are not possible. Three rules decide the outcome.
- One to one. Google explicitly warns against redirecting many old URLs to a single irrelevant page, such as the home page. Such a redirect may be treated as a missing page.
- No chains. An old URL points directly to the final new one, not via two intermediate ones.
- At least one year. Google recommends keeping redirects for as long as possible, generally at least 1 year, so that all signals are transferred, including links from other websites.
What is checked on launch day?
| Testing | How it is done | What is lost if it is missed |
|---|---|---|
| Indexing block | The noindex tag and the robots.txt file on the live website | The whole website drops out of Google |
| Redirects | A scripted test of every row in the table | The rankings of the pages that were not redirected |
| Canonical URLs | They point to the live domain, not the staging one | Google indexes the wrong URL |
| Sitemap | The new one is submitted in Search Console | Slow discovery of the new URLs |
| Internal links | Menus and copy point to the new URLs | Unnecessary redirects on every visit |
| Tracking | A test order or enquiry with a check of the events | Advertising is left without data |
How is advertising data preserved?
- The same IDs. The new website uses the same Meta pixel and the same Google Analytics 4 stream. A new ID means zero history and a new learning period for the campaigns.
- URL-based conversions. If a conversion or audience is defined by URL, for example the thank-you page, the rule is updated on the day of the change.
- URLs in the ads. Ads are pointed directly to the new URLs. A redirect in an ad link slows loading and can lose the tracking parameters. More: UTM parameters.
- Product IDs. In the feed for Google and Meta, each product’s ID stays the same. If it changes, the product enters as new and its history is not carried over.
- Duplicate events. The old and the new website must not send the same event at the same time. How to check: duplication between the pixel and the Conversions API.
Is the Change of Address tool in Search Console needed?
Only when changing the domain or subdomain. According to Google, the Change of Address tool is used when moving from one domain to another. For a new website on the same domain it is not needed: the redirects and the new sitemap are enough.
What is monitored during the first weeks?
- 404 errors in Search Console. Every missed URL is added to the redirects.
- Indexed pages. The new URLs gradually replace the old ones.
- Impressions and rankings by page. The comparison is page by page, not for the website as a whole.
- Conversions in the advertising accounts. A sharp drop on the day of the change is almost always a tracking problem, not a search problem. How to read the differences: GA4 and Google Ads.
Which mistakes are repeated most often?
- Everything changes at once. New design, new URLs, new copy and a new domain on the same day. If there is a drop, it is impossible to tell which change caused it.
- The staging website is left open. The development copy gets indexed and Google sees the same content at two addresses.
- Deleted pages with links from other websites. A page that other websites link to is redirected, even when its content is no longer needed.
- Forgotten images and files. The URLs of images and documents also change, and they also bring search visits.
FAQ — Frequently asked questions about changing a website
How long should redirects be kept?
Google recommends as long as possible, generally at least 1 year. In practice, there is no reason to remove them.
Is it normal for rankings to drop after the change?
According to Google, temporary fluctuations are expected. A lasting drop points to missed redirects, changed content or a block on indexing.
Can everything be redirected to the home page?
No. Google may treat such redirects as missing pages, and the visitor does not find what they were looking for.
Does the pixel need to change with a new website?
No. The same pixel and the same Analytics stream keep the history and the audiences.
When is the best time to make the change?
Outside the business’s strongest season and outside an active promotion, so that there is time to check without pressure.
Conclusion
Changing a website is safe when it is prepared as a move, not as a fresh start. The URL table, permanent redirects, the check for indexing blocks and preserved tracking IDs cover almost every case of lost rankings and lost advertising data.
Request a quote for a WordPress website →
Related articles: What to prepare before a website is built · WooCommerce or Shopify in Bulgaria · Website speed and conversions



