A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes below:

Site Moves and Migrations | Google Search Central | Documentation

Skip to main content

Stay organized with collections Save and categorize content based on your preferences.

How to move a site

This document describes how to change the URLs of existing pages on your site while minimizing negative impact on your Google Search results. Examples of this kind of site move include:

Not changing the URLs? If you are making infrastructure changes such as changing your hosting, start here instead. Overview
  1. General best practices for site moves. Know what to expect, and how it might affect your users and rankings. If moving from HTTP to HTTPS, review the best practices for HTTPS.
  2. Prepare the new site and test it thoroughly.
  3. Prepare a URL mapping from the current URLs to their corresponding new format.
  4. Start the site move by configuring the server to redirect from the old URLs to the new ones.
  5. Monitor the traffic on both the old and new URLs.
General best practices for site moves Prepare the new site

The details of site preparation vary for each site move, but typically you'll do one or more of the following:

Prepare URL mapping

It's important to map your old site's URLs to the URLs for the new site. This section describes a number of general approaches you can take to correctly assess the URLs on your two sites and facilitate mapping. The exact details of how you generate this mapping will vary depending on your current website infrastructure and the details of the site move.

Determine your old URLs

In the simplest of site moves, you may not need to generate a list of your old URLs. For example, you could use a wildcard server-side redirect if you're changing your site's domain (for example, moving from example.com to example.net).

In more complex site moves, you will need to generate a list of old URLs and map them to their new destinations. How you get a listing of old URLs depends on your current website's configuration, but here are some handy tips:

Create a mapping of old to new URLs

Once you have the listing of old URLs, decide where each one should redirect to. How you store this mapping depends on your servers and the site move. You might use a database, or configure some URL rewriting rules on your system for common redirect patterns.

Update all URL details on the new site

Once you have your URL mapping defined, you'll want to do three things to get the pages ready for receiving traffic.

  1. Update annotations to point to the new URLs in the HTML or sitemaps entry for each page:
    1. Each new URL should have a self-referencing rel="canonical" <link> tag.
    2. If the site you moved has multilingual or multinational pages annotated using rel-alternate-hreflang annotations, be sure to update the annotations to use the new URLs.
  2. Update internal links.
    Change the internal links on the new site from the old URLs to the new URLs. You can use the mapping generated earlier to help find and update the links as needed.
  3. Save the following lists for your final move:
Plan your redirect strategy

Once you have a mapping and your new site is ready, the next step is to plan your redirect strategy. We recommend server side permanent redirects from the old URLs to the new URLs as you indicated in your mapping. Check with your server administrator (or hosting company) about what kind of server side redirects you can technically do. It might be redirect rules in your .htaccess files if your server is using Apache HTTP server or redirect functions in your CMS.

If none of the server side redirect setups are possible, you can fall back to client side redirects as a last resort.

Decide how you will move your site – all at once, or in sections:

Keep in mind the following:

Start the site move

Once the URL mapping is accurate and you finalized the plan for how you're going to redirect, you're ready to move.

  1. Implement or turn on the redirects: depending on your decisions your redirect strategy, this might mean you push an update to your server configuration files or you update your CMS, likely with custom code. Avoid irrelevant redirects

    Don't redirect many old URLs to one irrelevant destination, such as the home page of the new site. This can confuse users and might be treated as a soft 404 error. However, if you have consolidated content previously hosted on multiple pages to a new single page, it is acceptable to redirect the older URLs to that new, consolidated page.

  2. Check the rel="canonical" link annotations and robots meta rules: Once the redirects are active, ensure that the rel="canonical" link annotations on the new site are using the new URLs. Similarly, if you added noindex robots meta rules to the new site to avoid prematurely indexing the new URLs, make sure to update them.
  3. Test the redirects. You can use the URL Inspection Tool for testing individual URLs, or command line tools or scripts to test large numbers or URLs.
  4. Submit a Change of Address in Search Console for the old site. If you're moving your site from HTTP to HTTPS, you don't need to use the Change of Address tool.
  5. Keep the redirects for as long as possible, generally at least 1 year. This timeframe allows Google to transfer all signals to the new URLs, including recrawling and reassigning links on other sites that point to your old URLs.

    From users' perspective, consider keeping redirects indefinitely. However, redirects are slow for users, so try to update your own links and any high-volume links from other websites to point to the new URLs.

  6. Submit the new sitemap in Search Console. This will help Google learn about the new URLs. At this point you can remove your old sitemap, since Google will use the new sitemap going forward.

The time it takes Googlebot and our systems to discover and process all URLs in the site move depends on how fast your servers are and how many URLs are involved. As a general rule, a small to medium-sized website can take a few weeks for most pages to move, and larger sites take longer. The speed at which Googlebot and our systems discover and process moved URLs depends on the number of URLs and the server speed.

Note that the visibility of your content in Search may fluctuate temporarily during the move. This is normal and a site's rankings will settle down over time. Update links

Immediately after the site move is started, try to update as many links as possible to improve the user experience and reduce your server load. These include:

Monitor traffic

Once you've started the site move, monitor how the user and crawler traffic changes on the new site and also the old site. Ideally the traffic on the old site will go down, while on the new site the traffic goes up. You can monitor user and crawler activity on the sites with Search Console and other tools.

Use Search Console to monitor traffic

Many features of Search Console help you monitor a site move, including:

Use other tools to monitor traffic

Keep an eye on your server access and error logs. In particular, check for crawling by Googlebot, any URLs that unexpectedly return HTTP error status codes, and normal user traffic.

If you installed any web analytics software on your site, or if your CMS provides analytics, it's also recommended that you review traffic this way so that you can see the progress of traffic from your old to new site. In particular, Google Analytics offers real-time reporting, and this is a handy feature to use during the initial site move phase. You should expect to see traffic drop on the old site and rise on the new site.

More resources

Site migrations can be overwhelming and complicated, so there are lots of takes on how to proceed. We found Aleyda Solis' site migration checklists particularly useful, and also the Screaming Frog tool guide for site migrations.

If you're stuck at any point, look for help on Google Search Central.
There is plenty of good advice on our help page and specific cases answered in our user forums. If you can't find an answer, you can ask a question to one of our Google Search specialists during our SEO office hours.

Troubleshooting your site move

Here are some common mistakes when migrating a site with URL changes (including HTTP to HTTPS). These mistakes can prevent your new site from being indexed completely.

Common mistakes noindex or robots.txt blocks

Don't forget to remove any noindex or robots.txt blocks that were only needed for the migration.

It's fine if you don't have a robots.txt file on your site, but be sure to return a proper 404 HTTP status code if the robots.txt file doesn't exist.

To test:

Incorrect redirects

Check your redirects from the old site to the new one. We frequently see people redirecting to the wrong (non-existent) URLs on the new site.

You can use Search Console to see if there are an unusually high number of "Not found" errors reported, or you can use other tools such as Screaming Frog to crawl your own site and see if the redirects work as expected.

Other crawl errors

Examine the Index Coverage report for a spike in other errors on your new site during migration events.

Insufficient server capacity

After a migration, Google will crawl your new site more heavily than usual. This is because your site redirects traffic from the old to the new site, and any crawls of the old site will be redirected to the new site, in addition to any other crawling. Ensure that your site has sufficient capacity to handle the increased traffic from Google.

Not updating sitemaps

Be sure that your sitemaps are all updated with the new URLs.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-06 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-06 UTC."],[[["This guide outlines how to change a website's URLs while minimizing search engine ranking impact, covering scenarios like HTTPS migration, domain changes, and URL path modifications."],["The process involves careful preparation, including mapping old URLs to new ones, setting up the new site, and planning the redirect strategy."],["Implementing the move requires activating redirects, updating internal and external links, and submitting a new sitemap to Search Console."],["Continuous monitoring is crucial, using tools like Search Console and web analytics to track traffic, identify errors, and ensure a smooth transition."],["Troubleshooting common issues and leveraging resources like Google Search Central can help address any problems during or after the site move."]]],["To minimize the impact of site moves on Google Search, prepare by mapping old URLs to new ones, updating internal links, and creating a new sitemap. Implement server-side redirects (301/308) from old to new URLs, avoiding chained redirects. For large sites, move in sections. Monitor traffic on both sites via Search Console and analytics. Update external links and profile links, submit the new sitemap, and maintain redirects for at least a year. Finally, address any `noindex`, robot.txt blocks and crawl errors.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4