SEO migration: how to carry it out without losing rankings

Share this article

Any change to a website’s URLs can have an impact on its visibility in Google Search. That is why it is important to do the groundwork beforehand and identify any issues that could lead to a loss of rankings during the process.

A site migration should be handled carefully from an SEO perspective, especially when it involves URL changes, domain changes, platform changes, or major design updates.

What is a website migration?

A website migration is the process of moving a site from one environment to another. This may involve moving the entire site to a new domain, changing the platform or CMS, or even just switching hosting providers. The goal is usually to improve performance, modernize the technology, or align the site more closely with business goals.

From an SEO point of view, the process has to be handled with great care, especially when the migration affects the site’s URLs or design. The challenge is to transfer as many ranking signals as possible from the old site to the new one while the new URLs are being crawled, indexed, and processed.

The main objective in an SEO migration is to reduce the negative impact on organic visibility and traffic. In some cases, the migration may even be intended to improve visibility, for example by moving content to a stronger domain, so the goal is not always just damage control.

Types of website migration

There are several types of website migration, and each one comes with its own challenges. The most common are:

  • URL changes: This involves changing the path structure of the URLs. Common reasons include shortening URLs, making them more readable, fixing poor URL structures, or removing the year from the slug.
  • Changes to the site architecture: A structural change can reduce the prominence of important URLs and make them harder for Googlebot to find.
  • Moving from HTTP to HTTPS: Although this may look like a simple switch to a secure version of the site, it still means that every URL changes.
  • Website redesign: A redesign often involves changes to the content, so it is important to control what will be added, changed, or removed.
  • Switching to a new CMS: In addition to making sure the content is migrated properly, you also need to check that Googlebot can crawl the new site without issues.
  • Domain name change: As with a move to HTTPS, all URLs change, so everything has to be updated correctly to transfer the existing signals to the new domain.
  • Website merger: This happens when two websites are combined into one, for example after an acquisition or when moving from a multi-domain strategy to a single-domain strategy.
  • Hosting provider change: This involves moving the site from one hosting provider to another.

Why SEO needs to be taken into account before a migration

When a site migration involves URL changes, it is essential to have an SEO strategy in place to transfer as much authority as possible from the old site to the new one.

If URLs change without a proper migration plan, Google cannot automatically match the old URLs to the new ones, which means the new site may effectively start from scratch in search. That can lead to a loss of organic traffic caused by a drop in visibility and rankings.

Even with a solid SEO migration strategy, there is no guarantee that rankings will return to exactly the same level, but careful planning can greatly reduce the risk of negative effects.

Phases of an SEO migration

Every migration has its own specifics, and the exact process may vary depending on the teams involved. Even so, an SEO migration can usually be divided into the following phases.

1. Pre-migration planning

Before making any migration changes, it is essential to carry out an initial audit and analysis of the existing site. This includes reviewing current SEO performance, identifying high-impact keywords, and evaluating the quality of external links. That information helps define the goals of the migration, which will then guide both the strategy and the later evaluation of the results.

This first phase is also the right moment to review the existing content in depth. It is an opportunity to identify outdated or redundant pages, optimize metadata and alt attributes, improve content where needed, and plan any changes to the site architecture.

In practice, this phase lays the groundwork for a successful migration by clarifying the objectives and identifying everything that needs to be addressed beforehand.

2. URL mapping and redirects

URL mapping is one of the most important parts of any SEO migration. In this phase, the old URLs are matched to their new equivalents. The purpose of this mapping is to guide search engines through the migration and clearly show which URLs now replace the old ones.

As the migration takes shape, attention to detail in the mapping process is critical. It is not just about preserving the existing URL structure, but also about improving it where appropriate for the new environment. This often involves strategic decisions that can strengthen the site’s overall SEO value.

Once the mapping is complete, the next step is to implement 301 redirects. These tell both users and search engines that the URL has changed permanently and that the new one is the version that should now be used. A correct redirect setup is one of the main ways to preserve signals during a move.

3. Content migration

Once the migration plan has been defined and the URLs have been redirected, the focus shifts to the content migration itself. This is not just a matter of copying and pasting content. It also means making sure that metadata, alt attributes, and other SEO elements are transferred correctly.

The challenge here is to maintain consistency and relevance while adapting the content to the new CMS or platform. As the content is migrated, internal links should also be updated so they point directly to the new URLs instead of relying on old links that now redirect or return 404 errors.

At the same time, this phase is an opportunity to improve the content identified earlier in the audit. Older content can be updated so it better satisfies search intent and fits the new structure more effectively.

If this phase is handled properly, the migration does not just preserve the site’s current positioning. It can also create an opportunity to improve it.

4. Technical SEO changes

The technical foundations of a site play a major role in how visible it is in search engines, which is why the technical SEO phase is so important in any migration.

Tasks at this stage include updating the XML sitemap with the new URLs and reviewing the robots.txt file and meta tags to make sure crawling of the new pages is allowed. It can also be useful to keep the old sitemap available for a while so search engines can continue discovering the old URLs and then follow the redirects to the new ones.

Beyond these technical adjustments, this phase should also include thorough testing. That means checking crawling and indexing in tools such as Google Search Console, as well as evaluating performance, page speed, and overall user experience.

If the technology has changed, it is especially important to confirm that Google can access and crawl the content properly. This matters even more when the new site relies heavily on JavaScript or uses a SPA-style architecture.

5. Pre-launch testing

Right before the migration goes live, it is important to run extensive tests to confirm that everything works as expected and that there will be no surprises after launch.

Crawling and indexability tests help identify any remaining issues with how the new site can be accessed and understood.

In parallel, performance tests should assess speed, responsiveness, and the overall user experience. These checks make it possible to spot and fix problems before the migration reaches production.

It is also crucial to test all redirects created earlier in the process. This means checking the old URLs and confirming that each one returns the expected response codes: a 301 redirect to the correct new URL when the content still exists, or a 404 if the URL is no longer meant to be available.

6. Launch and migration monitoring

Once all testing has been completed successfully, it is time to push the changes live. From that point on, the monitoring phase begins.

The goal after launch is to confirm that everything is working correctly and that the migration has been carried out as planned. Monitoring KPIs such as organic traffic and on-site user activity provides early insight into the impact of the migration.

At this stage, speed matters. If a problem appears, dealing with it quickly helps minimize its potential SEO impact. Regular checks in tools such as Google Search Console and Screaming Frog make it easier to detect issues early and react before they grow into larger problems.

7. Evaluation and communication of results

To evaluate whether the migration was successful, you need to go back to the goals defined at the beginning of the process. This is the point where you assess whether those goals were met and how the migration affected search visibility.

It is also worth thinking about backlinks at this stage. Once the migration has been completed successfully, you can start reaching out to websites that link to your content and ask them to update their links to the new URLs. This proactive step helps preserve the value of the site’s link profile.

Finally, the results should be shared with the relevant stakeholders. If needed, users can also be informed about the changes made to the site and any implications these may have for them.

As you can see, SEO migrations can be genuinely complex and require a large number of factors to be taken into account. For a migration to be successful, you need a solid plan executed with precision so you can avoid mistakes that may harm the site’s visibility.


Share this article
raul revuelta seo y marketing digital

About me

Raúl Revuelta

Digital marketing consultant specialized in SEO, CRO, and digital analytics. On this blog, I share content about these areas and other topics related to digital marketing, always with a practical, business-focused approach. You can also find me on LinkedIn and X.

Leave a Comment

Your email address will not be published. Required fields are marked *

Would you like to talk about your project?

Scroll to Top