WordPress Hosting

How to Migrate a WordPress Site to a New Host Without Losing SEO

A real walkthrough of the tools, the redirect setup, and the exact order of operations that keeps your rankings intact.

Quick Answer: Migrating WordPress to a new host is safe for SEO as long as you keep your existing URL structure, add 301 redirects for any URL that does change, verify the site on a staging URL before switching DNS, and resubmit your sitemap to Google Search Console afterward. The migration itself isn't what hurts rankings — broken links, missing redirects, and mixed-content errors are.

Want Us to Handle the Migration Instead?

Migration is included free with any CriticalWP plan — tell us about your current site and we'll take it from here.

Why "Will This Hurt My SEO" Is the Right Question

It's the question people should be asking before they migrate, and most don't ask it until after something's already gone wrong — a spike in 404s in Search Console, a ranking drop three weeks later, a client asking why their contact form stopped working. The good news: migrating hosts doesn't inherently touch your rankings. Google doesn't penalize a site for changing where it's hosted. What actually causes ranking loss is everything that tends to happen carelessly during a migration — URLs that quietly change, internal links that break, redirects that never get set up, or a site that's down long enough to get flagged as unreliable.

Get the technical steps right, and a host migration should be invisible to both your visitors and Google.

Step 1: Audit and Back Up Before You Touch Anything

Before moving a single file, get a complete picture of what currently exists. Pull your current XML sitemap and, if you have Search Console access, export the list of indexed URLs. This becomes your checklist later — after migration, every one of those URLs should either resolve normally on the new host or redirect somewhere that makes sense.

Then take a full backup: files and database, not just one or the other. Even if your host or migration tool handles the transfer, an independent backup is your rollback plan if anything goes wrong mid-migration.

Step 2: Pick a Migration Method That Matches Your Site

For most standard WordPress sites, a migration plugin is the simplest and most reliable path. All-in-One WP Migration packages your entire site — files, database, media, plugins — into a single exportable archive and imports it on the new host. It's straightforward for most small-to-medium sites, though very large media libraries can hit export size limits on the free version. Duplicator takes a different approach: it builds an installer package that rebuilds the site on a new server from scratch, which makes it a good option when you're moving to a completely fresh hosting environment rather than an existing WordPress install. UpdraftPlus is primarily a backup plugin, but its backup files can be used to restore a site on a new host — a reasonable choice if you're already using it for regular backups anyway.

For larger sites, high-traffic stores, or anyone comfortable at the command line, WP-CLI combined with a manual file transfer (via SFTP) and a database export/import gives you the most control — you can migrate the database and files separately, which matters when you're also changing domains or restructuring content as part of the move.

Step 3: Test on a Staging URL Before Touching DNS

Never point your live domain's DNS at the new host until you've confirmed the site actually works there. Most hosts provide a temporary staging URL or IP address you can use to preview the migrated site before cutover. If yours doesn't, editing your local computer's hosts file to point your domain at the new server's IP — just for your own machine — lets you preview the live domain on the new host without affecting anyone else's DNS resolution yet.

Check that pages load, forms submit, images display, and — importantly — that your site isn't accidentally set to discourage search engines from indexing it. Migration tools sometimes carry over a staging environment's "Discourage search engines from indexing this site" setting, which is a real and common way people accidentally deindex a freshly migrated site. Confirm that setting is off before going live.

Step 4: Preserve Your URL Structure

This is the step that actually protects your rankings. If your permalink structure on the new host matches the old one exactly — same slugs, same category structure, same everything — search engines see no difference at all. No redirects are even necessary, because nothing changed from Google's perspective except which server responds to the request.

Problems start when people use a migration as an opportunity to "clean up" URLs, flatten a category structure, or switch permalink settings. Every one of those changes breaks a previously indexed URL unless it's redirected — and every external site linking to your old URL now points at a 404 unless you've accounted for it.

Step 5: Set Up 301 Redirects for Anything That Does Change

If any URLs do change — intentionally or as a side effect of the new environment — a 301 redirect from the old URL to the new one is what transfers the SEO value instead of losing it. A 301 tells search engines "this page permanently moved here," and passes along the ranking signal the old URL had built up. A 302 (temporary redirect) does not pass that signal the same way, so make sure your redirects are actually configured as 301s, not 302s — a common mistake with some plugin-based redirect tools that default to temporary.

Build the redirect list from the audit you did in Step 1: every indexed URL that no longer resolves to itself needs a line item. Skipping this step is the single most common cause of a real ranking drop after migration — not the migration itself.

Step 6: Update DNS the Right Way

Lower your domain's DNS TTL (time-to-live) to something short — five minutes to an hour — at least 24 to 48 hours before your planned cutover. TTL controls how long DNS resolvers cache your domain's current server address; a shorter TTL means the switch to your new host propagates faster once you actually make it, instead of some visitors and crawlers hitting the old server for hours or days afterward.

When you're ready, update your domain's A record (and any relevant CNAME or MX records) to point at the new host. Keep the old hosting account active and unchanged for at least a few weeks after — DNS propagation isn't instant everywhere, and having a working fallback is worth the small extra cost.

Step 7: Verify, Then Tell Google What Happened

Once DNS has propagated, check the live site for mixed-content warnings (HTTP resources loading on an HTTPS page — a common issue if SSL wasn't configured identically on the new host), broken internal links, and that your XML sitemap is accessible and accurate. Resubmit the sitemap in Google Search Console — this doesn't force a re-crawl of every page, but it does tell Google where to look for what's current.

For the following few weeks, watch Search Console's Coverage report for a spike in 404 errors or a sudden change in indexed pages. That's your earliest signal if something in the redirect chain was missed.

What This Looks Like If You'd Rather Not Run It Yourself

Every step above is something a technical team does routinely, but it's also the kind of process where one missed redirect or one forgotten DNS record turns into a ranking problem weeks later — often after whoever did the migration has moved on to something else. Migration is included free with any CriticalWP plan: our team handles the transfer, sets up redirects correctly, verifies the site before and after cutover, and confirms nothing indexed gets left behind — regardless of your current theme, page builder, or host. Existing sites don't need to be rebuilt to move; here's what that looks like in practice.

Common Questions

Not if it's done correctly. Migration itself doesn't cause ranking loss — what causes it is a changed URL structure without redirects, broken internal links, mixed-content SSL errors, or extended downtime during the switch. Keep the same URLs, redirect anything that changes, and verify the site before pointing DNS at the new host.
For most sites, a migration plugin like All-in-One WP Migration, Duplicator, or UpdraftPlus handles the file and database transfer reliably. For larger sites or full server-level moves, WP-CLI or a manual file and database transfer gives more control. The right tool depends on site size and how comfortable you are with the technical steps.
No. If every URL on the new host is identical to the old one, there's nothing to redirect. Redirects are only needed for URLs that actually change — a different permalink structure, a removed page, or a restructured category.
At least 30 days. DNS propagation can take up to 48 hours to fully complete worldwide, and keeping the old host active for a few weeks after gives you a safety net if something on the new host needs troubleshooting.
Yes. Migration is included free with any CriticalWP plan. Our team handles the technical transfer, redirect setup, and verification, so you don't have to run the process yourself.

Skip the redirect spreadsheet. We'll migrate it for you.

Free migration with any CriticalWP plan, starting at $149/month — no rebuild, no lost rankings.