Home » Website Migration – A Complete Guide

Website Migration – A Complete Guide

by | Oct 6, 2021 | SEO

Introduction to Website Migration

A team working on CMS platform.

What Is a Site Migration?

Site migration is the process of migrating a website from one domain to another. In SEO terms, website migration involves any substantial change that a site undergoes, such as the inclusion of a mobile version or the upgrade to a more secure protocol like HTTPS.

Moving to a New CMS or Framework

Website migration is not without its risks, but staying on an outdated CMS or framework is far more detrimental to your website’s success than losing some of the content in the migration.

If the limitations of your current CMS are beginning to affect your website’s performance, your audience is going to get frustrated and slowly abandon your website in search of a more optimal user experience.

Due to the inherent risks of website content migration, you should always make sure that you’ve exhausted all other options before deciding to move the website to a new platform. Choosing the right CRM for your needs and enhancing it for performance gain is out of the scope of this article, but it’s definitely worth exploring on your own.

Reasons to Migrate Your Website

There are several reasons why people usually want to get into a process that’s as challenging and complex as website migration is. The most common reasons for migration include:

  • Moving to a new CMS or framework
  • Adding a mobile version
  • Moving from HTTP to HTTPS
  • Moving to a new server
  • Changing the domain name.

Reworking your entire website is not to be taken lightly. You should have a clear and data-backed reason why you’re doing it before you initiate the website migration process.

It’s not something you should do on a hunch. If you’re feeling like your website is underperforming, you should explore all other potential reasons for it before deciding to migrate the entire website. Consider website navigation, your customer’s journey, overall user experience, and the quality of content.

Only when you’ve exhausted all the other options should you even consider website design and architecture as potential culprits.

Free SEO Audit

Adding a Mobile Version

Have no doubt about it — we’re living in a mobile-centric era of technology and there are no signs of it changing in the near future. It really is no surprise that many businesses have redoubled their efforts to reach the audience browsing on mobile devices and adapted their websites to be more mobile-friendly.

With the importance of mobile-first indexing and the overbearing ratio of mobile to

desktop traffic, it’s only understandable that you’d want to make your website more accessible to mobile devices. Website migration is sometimes more than necessary to achieve that goal.

Moving from HTTP to HTTPS

Not having HTTPS in this day and age is detrimental to both the user experience and SEO in the long run. Encrypting all communication and making your website tamper-proof adds a layer of security that all internet users have come to expect.

Seeing a popup warning you that page you’re about to visit is unsecured only makes visitors think twice about giving you their time of day. 

That’s why you should seriously consider website migration if you’re still relying on outdated HTTP.

Before You Start the Migration

If you’ve determined you have a proper reason to proceed with the website migration process, there are a couple of things you should do before you get down to it.

We’ve put together a site migration checklist of all the steps you should take before initiating the process:

  • Let your users know you’ll be moving your website. No matter how prepared you are for site migration, it’s a process that’s prone to errors and mishaps. It’s best to warn your audience of potential issues until you get everything sorted out.
  • Move your website part by part. If you try to migrate the entire website all at once, you won’t be able to expect all the potential breakdowns that can occur. Create a sample website first, see how it feels, test it out, and then begin the website migration process.
  • Do one migration at a time. Making substantial changes to your website requires careful planning. If you’re both changing the website architecture and getting a new domain name, you should do one before the other. Trying to make such major changes at the same time will result in more headaches down the line.
  • Wait for a low-traffic time. You might want to postpone website migration until later, depending on when the majority of your audience uses your website. Avoid migrating during peak hours to minimize the impact of the migration and the problems it often causes. On top of that, Google Bots will crawl your website faster thanks to reduced server load.
  • Be prepared for anything. Site migration is no laughing matter, so do your best to expect the unexpected.

Keep this preparatory site migration checklist close, and you should be more prepared to tackle any difficulties that arise during or after the process.

Preparing for Migration

A man preparing migration of website.

It’s time to get your website ready for migration. This part involves making backups and reference points that you can use to compare the performance of your new website with its former self.

Data Collection

Collecting all the data involves performing SEO audits to check the health of your website and position tracking to keep an eye out on rankings.

It’s also the right time for a content audit to see how the website’s content is holding up.

Setting up analytical tools for the current state of the website will help you compare and contrast site metrics ahead of the upcoming changes.

Plan the Move and Benchmark Your Current Site

Planning website migration involves setting clear objectives as to why you’re making the move in the first place, i.e., what you want to achieve with migration. It also includes estimations as to how long you expect the process to last.

Make sure that you have a team of people with varied skill sets who can help you get the job done. Site migration requires webmaster engineers, SEOs, analysts, UX, and content specialists at the very least. When these separate teams of people don’t cooperate on a project since day one, they are going to have a much harder time predicting potential problems and solving them before they even happen.

Make a Copy of Your Site

This step involves making a copy of your website and uploading it to a new server. Otherwise, you won’t be able to test any of the changes you’re making.

To optimize your tests, make sure to use a test site on a separate domain or subdomain. Once you have a copy of the site, set up your CDN (content delivery network) for the test site.

Block Access to Your New Site

If search engines attempt to index your new version of the website before the migration process is finished, it could appear in SERPs and compete with the existing version of the website. 

You can block access to your new site using a couple of different methods:

  • Robots.txt
  • Password protection
  • Noindex tag

Let’s explain the robots.txt file first.

Using the robots.txt file is an easy method of disallowing indexing and preventing Google Bots from crawling your website until the migration process is finished. However, you still need to give access to the tools you’ll be using in the website migration process, so don’t forget to include those in the file.

For example, even though you’d want to block Google, you might still need to use Ahrefs tools for auditing. What you have to do is include the following directives in your robot.txt file:

User-agent: Googlebot

Disallow: /

User-agent: AhrefsBot

Allow: /

One of the alternatives to using the robot.txt file is setting authorization rules. Enter the credentials in the settings of the tool you’ll be using to carry out the audit of the website. That will allow it to bypass the restrictions and still let you keep the password protection on.

Finally, there’s the noindex tag. However, since noindex blocks both Google Bots and SEO audit tools from crawling your website, you’ll have to disable it before migrating. Note: Using the noindex tag also prevents bots from crawling (including the Site Audit tool), and you’ll need to delete said tag before migrating. Note down all the URLs with the noindex tag before migration.

Check Your New Site for Errors

You can set up a new site audit project that will analyze the test subdomain in its crawl scope and reveal any potential technical errors that might exist. That’s a foolproof method of checking your new site for errors before proceeding to the next step.

Check If Google Can Access Your New Site

There is one simple method you can use to test if Google can access your new site. Add the temporary hostname of your test subdomain to Search Console. Then, use the Coverage report to ensure that JavaScript can be crawled and indexed as well.

Googlebot will need temporary access to your website in order to test it out. As soon as you’ve ensured that the site has no indexing issues, restrict access to your test site again.

Check DNS Time-to-Live Values

A Domain Naming System (DNS) translates the user-readable name of the website into the correct IP address. It’s the type of information computers can understand, as opposed to what the users can remember.

Migration of a website often requires a change of IP address. In that case, your DNS records will require an update, and updates translate to downtime for your site. In order to keep the downtime to a minimum, you can adjust the Time-to-live (TTL) values of the DNS entries on your website.

The TTL values specify how long the DNS record is maintained. Lowering the TTL value before migration will speed up the process of DNS change. Once migration is complete, you can reverse the values.

Copy the Google Analytics Tracking Code to the New Site

Even though you’re migrating your website, you’ll still need access t all the historical data Google Analytics has accrued up that point. In order to transfer all of that data to the new website, you’ll have to copy your Google Analytics tracking code from the current website to the new version of the site.

Creating a URL Mapping

Data Mapping Management.

 

Create a List of Your Current Urls

URL mapping is the necessary first step in the migration process. List all of the URLs on your current site and match them with the URLs on your new site.

Find the most important pages of your site, content-wise, traffic-wise, and link-wise. Start with your sitemaps, if they have up-to-date page information. You need to gather all of the content (including images and videos) that you want to be available on your new site.

  • Different sources can help you achieve different goals
  • Use Search Console to find all of the indexed pages
  • Google Analytics can find the pages that have traffic
  • Site Audit can filter out pages with a specific status code
  • Backlink Аnalytics will help you find the pages of your site with backlinks
  • Position Tracking can sort out the high-ranking pages of your website
  • Screaming Frog can export all HTML pages.

To avoid duplicates in your list, compile all the data in a single file.

Find URLs That Require Redirects

Whenever the URL structure of a site changes, you need to find URLs that require redirects. Without 301 redirects, new pages won’t be able to get the traffic of the old pages. The same goes for their previous PageRank, which will result in major hits to your rankings.

To prevent this from happening, you need to match all of the old URLs to the new ones. That will reveal all of the pages that require the redirect.

Create a 301 Redirect Map

Now that you have mapped the URLs of your old and new websites, and found which pages are missing from your new site, you need to fix it. That way, you will keep your PageRank afloat and your backlinks will remain operational.

You will need to find a new destination on the new site for each and every one of the missing pages that you have. It’s of utmost importance to pay as much attention as you can when setting up redirects, as it’s quite important for a multitude of reasons. We recommend that you use a server-side 301 redirect so that your old URLs will be excluded from the index, and your redirects will still be working when you cancel your current hosting.

Do not redirect all of your pages to a single page. It is quite common to use the main page as a destination for redirects, but it is bad practice. It confuses users, and search engines may consider the page a soft 404 error, which hurts rankings.

In some cases, redirecting to a category page or the main page is a viable option, but try to minimize these. The best way is to find a relevant page for a redirect or create a new page with relevant content.

If you do not need a new page, we recommend you change the server response of a broken page from 404 to 410. The 410 status code means that the page is permanently gone, and tells the search engine bots to remove the link from their index.

Careless redirects can end up creating redirect loops, chains, and dead ends. You can always re-run your Site Audit campaign to find out if everything works well.

Update All URLs

There’s only one more step you need to take to prepare your URLs for site migration. All that’s left for you to do is to update the details of all URLs. 

First of all, you need to update annotations in the HTML or the Sitemap file What that entails is updating the rel-alternate-hreflang annotations if your website has multilingual pages. If your website has a mobile version, you’ll also need to update the rel-alternate-media annotations. Moreover, every URL should have a self-referencing rel=”canonical”.

Secondly, you need to fix the internal linking structure on the new site. That involves changing all of the old URLs to the new ones.

Finally, put together a list of websites linking to your content and separate Sitemaps with old and new URLs.

Starting Migration

A group of team working together on website migration.

 

Remove All Temporary Website Blocks

It’s time to initiate the website migration process. You need to make it accessible to both the users and the search engine crawlers. You can remove any blocks you’ve put in place to prevent your two websites from competing with one another. Use the Site Audit Crawlability thematic report to check if all the blocks have been removed successfully.

Evaluate the Complexity

Small sites rarely face any challenges during the website migration process. Different pages can have different issues and throw unexpected errors in the migration process, so the fewer pages there are, the less likely you are to run into too much trouble. In that scenario, you could migrate the entire website without a hitch.

However, the larger the website the more complex the whole process gets. The more pages there are, the greater are the odds of something going wrong. That’s why one of the website migration best practices involves moving only one fragment of the website at a time.

How you fragment the migration is entirely up to you. What matters is that you run tests after migrating every bit of your website to ensure that everything is operating smoothly.

Record the Current Site Status and Create Content Backup

Record the current site status one last time and make all the backups that you need. This will allow you to analyze and deal with any problems that might occur or if anything goes wrong. The backup needs to include all of the content, as well as meta tags.

You need to make a final record of your current site status and make all necessary backups so that you can analyze and fix problems in case anything goes wrong.

Ensure your Position Tracking and Site Audit campaigns are set up and updated.

Enable Redirection

It’s time to enable all the redirects you set up already.

Re-run your Site Audit campaign to make sure there are no new 4xx errors in the Issues tab. Then, you can sort the Report for Permanent redirects, and go over the list to make sure that all page and link URLs are correct.

Make Sure Your Website Is Verified with Google Search Console

After website migration, you usually need to ensure that the ownership of the website is still valid. Usually, people use an HTML file as a verification method, so make sure that file exists on your new website. You’ll need it to verify the ownership with the Google Search Console.

Update All Your Links

The next step involves updating as many links as you can. This goes for all types of links, including backlinks, ad campaigns, social media links, etc.

The first step includes reaching out to all the sites linking back to you and asking them to change the links so that they point to your new website. Alternatively, you could set up 301 redirects if getting all the links changed isn’t possible. In fact, you should have 301 redirects in place either way. Likewise, all your ad campaigns should now point to new landing pages instead of the old ones.

After that, update the links located in your social media profiles. Finish this step off by running a site audit to locate all the internal links with redirects. Make sure to eliminate unnecessary loops to avoid losing out on valuable performance.

Submit Your Disavow Links to Google Search Console

If you haven’t changed your mind about letting all those low-quality backlinks through and have a new Search Console account, you will have to upload your disavow file again. It has to be available on your new websites to prevent suspicious links from harming your authority and reputation.

Monitoring Migration

Data Monitoring Migration.

Check if Your Site Has Any Issues

Once the migration is complete, re-run your site audit campaign to see how many issues you’re up against.

The Compare Crawl tab will reveal if there were any issues since the last audit. Besides showing new issues, Compare Crawl will also list all the issues that were fixed since the last audit.

Check the Performance of Your New Site

Page load speed is one of the most important performance indicators. It’s not only crucial to an excellent user experience — it also defines the speed at which Google bots index your new pages, as their speed is tied to that of your website. No matter what your objectives are, you need all the page load speed you can get, so pay as much attention to the performance of your new website as you can.

For that reason, you need to check performance time and time again to ensure it’s at its best. You can’t recheck page load speed enough times. It’s an ongoing process that you should prioritize even after all of the pages have been indexed. Users will still appreciate an efficient page experience. It’s up to you to make sure that the new website configuration can deal with an influx of users and crawlers alike.

Use an up-to-date recrawl of Site Audit and inspect the Performance thematic report to get all the performance-related information you need.

Site Speed report in Google Analytics can reveal how fast the users interact with your pages. Their individual experience depends on the browser they’re using and visitors usually face more issues than crawlers.

Track Indexing of Your New Pages

To track the indexing of your new pages (and deindexing of the old ones) upload the Sitemaps for both the old and new URLs to Google Search Console. You’ll be able to see which one of the old URLs remains indexed and monitor the indexing of the new pages. In the end, all of the old URLs should be gone and your new website completely indexed.

Track Your Positions

Even if you do everything alright and keep issues down to a minimum, you’re still likely going to see a temporary drop in rankings. It’s imperative that you keep track of your positions for both desktop and mobile and wait for the rankings to recover, as they usually do. They should get back to their previous level in a matter of weeks.

However, if more than a couple of weeks pass and your rankings don’t go back up, you should analyze everything you can to determine the cause of the issue. To that end, we’ll provide a section on troubleshooting, so that you can take care of the problem quickly and efficiently.

Free SEO Audit

Troubleshooting

Since website migration is a fairly complex process, it’s highly unlikely everything will go according to your plans. You might find that your rankings have dropped or that the organic traffic income has decreased. In some cases, your audience’s behavior might hint at a potential problem.

If there’s an issue, something will give it away, you can count on that. When that happens, you can use the advice we provide in this section here to troubleshoot your problem and get to the bottom of it.

  1. You need to know where exactly are you losing all the traffic. Is the whole website the issue, or is it just a couple of specific pages that are acting up?.
  2. Find out if the source of the lost traffic is ads, backlinks, or organic traffic.
  3. In the case of lost traffic from backlinks or ads, you should recheck the redirects to see if you matched all the URLs properly.
  4. In the case of lost organic traffic, inspect your Position Tracking campaign to see if your rankings are fine.
  5. When it comes to web pages acting up, if it’s only a select few that are losing positions, compare the content on the new site with content from your backup. Check if there are any changes in content and meta tags.
  6. However, if it’s an issue affecting a great many pages, run the site audit again and follow the tool’s instructions to troubleshoot potential technical issues.
  7. If you don’t know what to do about underperforming pages, use the On-Page SEO Checker tool to get some optimization ideas you haven’t thought of before.
  8. Not all issues are of technical nature, and these are, unfortunately, the most difficult to troubleshoot. Growing bounce and exit rates accompanied by a drop in conversion rates might just point to your audience being displeased with the migration. In that case, the best solution is to create a customer’s journey map and see what it is your audience is missing. When you do, provide them with it to avoid even worse bounce rates and conversion rates.

Conclusion

There’s no question about it — website migration is a delicate process and quite a complex subject. It’s not to be taken lightly, because even when you’re completely prepared for what’s coming, unexpected situations still occur. You need to know what you’re getting into and for what reason — site migration should be your last choice, not first.

By following the steps in this website migration guide, you’ll be able to keep potential issues down to a minimum and migrate the site with only minor setbacks.

The end result will be an optimally running website that will outperform the previous one and get you closer to your business objective.

Mladen Maksić

Want more traffic?