WordPress Migrations and SEO: Post-Migration Tasks and Testing

WordPress Migrations and SEO: Post-Migration Tasks and Testing

Moving a WordPress website is straightforward enough (if you know what you’re doing, that is – and if not, here’s how). But it’s important to be aware of the possible fall-out and impacts on your SEO.

This is part two of a two-part series on WordPress Migrations and SEO. In part one, we looked at how a website migration can affect organic traffic and what needs to be completed in preparation for it. In this post, I’ll show you in detail what needs to be done immediately after the migration and how to check if your search engine optimization has been affected.

If you have followed along with the first part of this guide, then you should have:

  • Made sure the new site isn’t suffering from any of the same SEO issues the old site was
  • Installed an SEO plugin for WordPress
  • Setup Google Search Console, setup an analytics platform and been gathering data for as long as possible
  • Created XML sitemaps
  • Created redirect maps for URLs that are changing

Once the above steps are complete, from an SEO perspective you are ready to carry out your website migration.

Post-Migration SEO Tasks

As soon as your website has been migrated, you will want to carry out the following tasks:


In part one of this guide, you would have created a redirect map for all URLs that will be changing during the website migration. You will likely be implementing these either using the .htaccess file or using a WordPress plugin. Either way, as soon as the migration is complete you want to ensure that these redirects are pushed live.

Check Redirects

You’ll want to check that your redirects are working as expected. Redirects should have a HTTP status code of 301, there shouldn’t be any redirect chains and the URL being redirected to should be the correct one from the redirect map. Also, monitor for any redirect loops. These are a serious issue and you should ensure that you fix these immediately, as not only will these affect SEO, but redirect loops will prevent visitors from being able to access the web page.

You can check your redirects in a number of ways. I will often either use Screaming Frog in ‘List’ mode. This is a website crawler, that was used in part one to identify all of the URLs on the old site that should be redirected. To check your redirects are implemented correctly using Screaming Frog:

  1. Open Screaming Frog
  2. Click Configuration
  3. Click Spider
  4. Click on the Advanced tab
  5. Tick the checkbox Always Follow Redirects
  6. Click OK
  7. Click on Mode and select List
  8. Copy your list of URLs that you are redirecting from your redirect map spreadsheet
  9. Click the Upload List button in Screaming Frog
  10. Click on Paste and this will automatically paste your URLs into Screaming Frog
  11. Click OK and Screaming Frog will immediately begin crawling the URLs you pasted

When Screaming Frog has finished its crawl, click on the Response Codes tab. Here you can view all of the URLs that were crawled, their response codes and where they redirected to. You can view these in Screaming Frog or you can export these and then view them in your preferred spreadsheet program.

Screaming Frog Response Codes data.
Screaming Frog Response Codes data.

You want to ensure that all HTTP statuses are 301 and that the Redirect URI is the one you have in your redirect map. If the status code returned is 302, you will want to check that the redirect you have set up is actually a 301-permanent redirect. If you have any 4XX or 5XX HTTP status codes, you will need to check that the URL you specified to redirect to is correct. If it is the right URL, you will want to check that the page on your site is live and that the URL is the same as the one you have used to redirect to.

Verify Search Console

Once the migration is complete you will want to check that your Google Search Console account is still verified. There are several ways that Google Search Console can be verified, and many of them could be broken by a website migration. You can read about the various types of verification methods here.

For example, a common way to verify Search Console is by adding a meta tag with a verification string to the document head. During a redesign and build of a website, this could easily be overlooked and included in the new site. You would need to verify on the new website that this meta tag is included in the document head, or make sure that there is a new method of verification and that this is confirmed in Google Search Console.

Google Search Console Verification page.
Google Search Console Verification page.

Search Console Change of Address

This is only necessary if you have changed your domain name, e.g. olddomain.com will be moved to newdomain.com. To submit a change of address, in Search Console click on the cog icon in the top right of the screen. Here you can select Change of Address. Following the on-screen steps to submit your change of address. Before doing this, please ensure you have added your new domain to the same Search Console account by clicking Add A Property on the main Search Console dashboard.

Google Search Console Change of Address.
Google Search Console Change of Address.

Submit XML Sitemaps

To ensure that Google can find your content, you should submit your sitemaps to Google. Within Search Console:

  • Click Crawl in the left hand navigation
  • Click Sitemaps
  • Click the Add/Test Sitemap button
  • Paste in the path to your XML sitemap/XML sitemap index file
  • Click Submit
Google Search Console XML Sitemaps.
Google Search Console XML Sitemaps.

Once your XML sitemaps are submitted, Search Console will report whether any errors had been found. If so, I would recommend correcting these issues as soon as possible to ensure your content is being crawled effectively.

Getting URLs Indexed Quickly

There is a way to get your pages indexed fast, often within minutes. You can run a ‘Fetch as Google’ via Search Console, which gets Google to crawl a URL immediately. You can then submit the results of this crawl to Google’s index. To do this:

  1. Click on Crawl
  2. Click on Fetch as Google
  3. Paste the URL path of the page you want indexed into the input box
  4. Click Fetch
  5. Once Google has completed fetching the page, click on Submit to index
  6. Choose whether you want only the fetched URL to be submitted to the index or whether you want the fetched URL indexed as well as the URLs in it links to, and then click Go
Google Search Console Fetch.
Google Search Console Fetch.

Note that you do not need to submit every URL individually. As long as Google can crawl all of the content you want indexed, it will show up in search results eventually. The ‘Fetch as Google’ function and then submission to the index, is useful for important pages that you want ranking in search results quickly.

Crawl Errors

You will want to carry out a crawl of your website as soon as possible to ensure that there are no pages returning errors. This is easy to do with a tool like Screaming Frog, using the same process that was used during the pre-migration crawl.

Once the crawl is complete, check for 4XX or 5XX status errors. You can investigate these further by viewing the additional information in Screaming Frog. Common causes for crawl errors are often incorrect internal links due mistakes such as typos in either a page’s slug or the HREF attribute of an internal link.

You can also continue to monitor Google Search Console for crawl errors, though this will usually take at least a few days for Google to begin reporting any crawl errors post-migration.

Google Search Console Crawl Errors Report.

Page Speed

You can use the same tools you used pre-migration to test the performance of the website once the migration is complete.

Once you have the results of your test you will want to compare the load times, number of resources required, the total page load size and the recommended actions to optimize the page load. If there are serious issues, you will need to request your developer takes appropriate action if you are unable to make the changes yourself.

Monitoring Impact

As an ongoing task, you will want to monitor your organic search performance. You can view the majority of the data you will need in Google Search Console. The key areas to focus on are:

  • Clicks
  • Impressions
  • Click through rate (CTR)
  • Positions
Google Search Console Search Analytics data.

If you spot a downward trend with any of these metrics post-migration, you should investigate. Clicks and impressions can be highly seasonal, so you should anticipate changes to these anyway. If you are unsure whether changes are due to seasonality, you should view previous years’ data to spot trends. You can also check Google Trends, which is a great tool for viewing search demand over time for specific keywords.

Google Trends

Positions are an important organic search metric to monitor, as they should not be affected by seasonality as much the other metrics. If there is a clear negative trend post-migration, it is highly likely that there is an issue with one or more organic search signals. Key areas to focus on are:

  • Redirects are implemented correctly
  • Pages that should be crawled are not being blocked by robots.txt files or meta robots tags
  • Pages that should be indexed do not have a meta robots tag with ‘noindex’
  • Title elements are as well optimized for your keywords as they were pre-migration
  • On-site copy has a high keyword relevance, at least the same as the pre-migration website
  • HTML elements are as well optimized as the pre-migration website, e.g. image elements, heading elements etc.
  • Internal links are at least as well optimized as the pre-migration website, e.g. keyword rich anchor text, internal links within copy, important pages having the majority of internal links to them

Please remember that SEO is a much longer term solution than many other digital channels. You won’t know immediately whether the changes you make will have fixed the problems with your SEO. It will require consistent monitoring of your analytics and Search Console data to verify that.


Migrating a website can be a risky business for your SEO, but if you follow a clear plan to maintain organic traffic, you can avoid too many Google woes.

Carrying out the actions detailed here, for both pre-migration and post-migration phases, should help you to maintain your search engine rankings.

Have you got any advice for maintaining organic traffic and rankings after a website migration? Any issues you have faced that aren't mentioned here? Let us know in the comments below.

Hassan Akhtar

Hassan Akhtar Hassan Akhtar is the lead dev for Smush and HummingBird. In his free time he enjoys writing about his development adventures at WPGurus.net.