WordPress Migration Checklist: What to Check Before You Switch DNS

A practical pre-launch checklist for moving WordPress to a new host or domain without broken pages, lost emails or a drop in Google rankings.

· 2 min read
On this page
  1. Before you copy anything
  2. Test on the new server first
  3. Do not forget email and DNS records
  4. If URLs are changing
  5. The first 72 hours after switching
  6. FAQs

Before you copy anything

Take a full backup of files and database and download it somewhere off the server. Then list every URL Google has indexed: export them from Search Console or your sitemap. That list is how you will prove nothing went missing.

Lower your DNS TTL to 300 seconds a day before the move so the switch spreads quickly.

Test on the new server first

Point only your own computer at the new server using your hosts file, or use the host's temporary URL. Click through the main pages, submit every form and, on a store, place a test order.

Check that images load from the new server, not the old one. A search-and-replace on the database, done with a serialization-aware tool such as WP-CLI, fixes old URLs.

Do not forget email and DNS records

If your email runs through Google Workspace or Microsoft 365, copy the MX, SPF, DKIM and DMARC records to the new DNS zone before switching. Missing these is the most common way a migration breaks email.

Copy any verification TXT records too, such as Google Search Console's.

If URLs are changing

When the domain or URL structure changes, every old URL needs a 301 redirect to its new equivalent, not just to the home page. Map them in a spreadsheet using the URL list from step one.

After launch, use Search Console's Change of Address tool for a domain change and submit the new sitemap.

The first 72 hours after switching

Keep the old hosting live for at least three days in case you need to switch back. Watch Search Console for crawl errors, test forms again from the live domain, and confirm SSL is active on both www and non-www versions.

Only cancel the old hosting once traffic, forms and email have all been normal for a few days.

FAQs

Will migrating WordPress hurt my SEO?

Not if URLs stay the same, or if every changed URL has a 301 redirect. Rankings usually stay steady when the site loads at least as fast on the new host.

How long does a WordPress migration take?

A small site can move in a day. A large site or WooCommerce store needs a planned cutover, usually within a week including testing.

Can I migrate with a plugin?

For small sites, yes. Large sites, multisite networks and busy stores are safer to migrate manually so nothing times out halfway through.

Daniyal Hussain Shah
Daniyal Hussain Shah
Software Engineer at Datics AI with 5+ years building WordPress, WooCommerce and Next.js sites. MS Computer Science, based in Lahore, Pakistan. About me →