Skip to content
Free site check

How to move WordPress hosting without losing rankings

Moving WordPress hosting can feel a bit like renovating your kitchen: the end result might be great, but the process is messy, disruptive, and full of small details that are easy to overlook. For a business, though, the stakes are higher than a misplaced spoon. This is the exact moment when rankings can slip, contact forms can quietly stop sending, and email can vanish, all while you are congratulating yourself on a job well done. The good news? The new server is almost never the villain. The real problems come from the details that get lost in the shuffle: a missing redirect, a broken tracking tag, or a form that no longer knows where to send its entries.

This guide is designed as a practical checklist you can hand to whoever is doing the move, even if that person is you. We will walk through gathering your baseline records, freezing content and structure, staging the whole site, and auditing redirects before anything goes live. You will learn why you should not use Google’s Change of Address tool for this job, how to test every form and email route, and what to watch for after the DNS switch. We will also cover clear rollback triggers so you are not relying on gut feeling. Think of it as your roadmap to keeping rankings, forms, and email intact.

Why hosting moves break rankings (and why the server is rarely the cause)

The new server is rarely the villain. Ranking and enquiry loss on a hosting move usually traces to lost 301s, broken canonical tags, forms pointed at wrong inbox, dropped MX records or an analytics tag that never transferred. Google’s site-move guidance pushes one idea: keep the same architecture so signals pass directly. Change content, URLs or structure simultaneously and Google may reassess pages, so some traffic loss is likely.

Hosting-only moves keep URLs, so the worst domain-move risks don’t apply. Practical breakages do. A silently failing form is a lost enquiry whether rankings hold or not. Expect a settling period: a Google product expert on the Search Console community forum said moves typically take many months to settle, though that is one opinion, not measured data.

Hand this checklist to your developer, designer or agency, then check the work, not a server admin manual. Fewer moving parts help, which is why we build without page builder bloat; bloat costs you customers.

Prerequisites: access, backups and the baseline records to gather first

Before anyone touches a server, gather every login: WordPress admin, old and new hosting panels, registrar, Search Console, GA4, Google Ads, CRM and email provider. Add 2FA recovery codes and confirm the domain is registered to the business, not a former developer.

Take a full files and database backup, then restore it somewhere else. An untested backup is a hope, not a plan, and your only safety net. If you would rather not manage that, see what you get from a maintenance plan.

Record a baseline: rankings for 10 to 20 money pages, a three-month Search Console export, indexed page count, speed scores and 30 to 90 days of enquiry submissions. Export and screenshot the full DNS zone (A, CNAME, MX, TXT, SPF, DKIM, DMARC) before anything changes. Crawl the live site and save the URL list plus XML sitemap for your post-switch diff.

Freeze content, plugins and URL structure before you copy anything

Before copying any file, agree a freeze window covering copy, test and switch: no new blog posts, plugin/theme updates, WooCommerce product/price changes or permalink fiddling. If you’re wondering what questions people ask about WooCommerce migrations, keep the catalogue unchanged until the move is done.

Do not bundle a redesign, URL change or plugin clear-out into the job. Google warns combining a move with content or URL changes likely causes traffic loss while it reassesses pages, and you will never know the cause.

Park a permalink fix. Move hosts first, let things settle, then treat the URL change as its own project with a redirect map. Google also advises against chained moves and merging several sites into one place; same logic for host move plus domain consolidation. This is why plugin bloat makes migrations harder, not easier.

Freeze domain too: no new subdomains, opportunistic mid-move redirects or registrar tidy-ups the day before.

Next, stage the site and test the copy properly.

Stage the whole site, not just the files

Once frozen, copy files and database to staging on the new host. Check database prefix, user permissions, PHP and MySQL versions, hardcoded paths in wp-config.php or the theme.

Keep staging out of the index while testing. Password protection or noindex/robots rules are fine, but diarise the exact moment they come off; a leftover noindex on launch day is a classic self-inflicted disaster.

Test against baseline: key pages render, theme/plugins match, internal links resolve, sitemap loads, search works, all expected database tables exist.

Watch absolute URLs and serialised data: options rows, image optimisation or CDN URLs, builder content, hardcoded links can point at the old host, causing slow loads, mixed content warnings or stale images. WP-CLI’s search-replace command handles serialised data safely; dry run first.

A plugin-light, hand-coded WordPress or WooCommerce build has fewer surprises: fewer plugins hold absolute URLs, licences or API keys. Total Webz builds sites that way for this reason; their team can help with questions people ask.

Audit redirects and canonical tags before anything moves

While staging is fresh, audit what the copy does not carry. Export every redirect rule from the old host panel, redirect plugin and .htaccess, then test each on staging. Plugin and host-panel rules do not travel with the files.

Check canonical tags on key templates resolve to the same URL after the copy. Watch www versus non-www, trailing slashes, and templates with a hardcoded domain. If the move also flips www to non-www or back, use canonicals and/or redirects, not Change of Address; pick one version and keep canonicals, sitemap, internal links and Search Console consistent.

Where URLs genuinely change, Google recommends a 301 from old homepage to new, plus 301s for canonical pages. On a hosting-only move there should be nothing to redirect. Writing lots of 301s means it has become a URL change.

Keep a redirect map with old URL, new URL, status code and dated test result. Assumptions break migrations; dated tests prove what works.

Do not use Google’s Change of Address tool for a hosting-only move

Before you open Search Console, get one thing straight: Change of Address is for domain or subdomain moves, not hosting swaps. Google’s own documentation excludes moves where the URL stays the same and only hosting or CDN changes. So a straight WordPress hosting move is not a Change of Address job.

If the domain genuinely is changing, submit the tool only after the site has moved and redirects are live. Doing it early gives Google nothing useful to act on. For a hosting-only move, follow Google’s separate guidance for site moves with no URL changes and leave the tool alone. This is the correction most migration articles get wrong.

Same-domain shifts such as www to non-www don’t belong there either. Google recommends canonical tags and/or redirects, which means fixing templates and server config, not Search Console. Google Search Console Help is the strongest source here, and nothing newer has contradicted it as of 2026.

Test every form, including where the entries actually end up

With Change of Address left alone, your next risk is forms. On staging, submit every one with real test data: contact, quote, callback, newsletter, booking, and a WooCommerce checkout with test order, refund and confirmation email. Follow each to its destination: right inbox, CRM, ticketing system or database, spam folder checked, autoresponder confirmed. Timestamp every test.

Find cutover dependencies: SMTP plugins, reCAPTCHA keys, API keys, webhooks and mail services whitelisted to the old host’s IP or tied to the old domain. Test mobile and desktop, and test the failure path. If sending fails silently, does the visitor still see success, and does anyone get alerted? That’s how enquiries vanish for a week.

Keep the log. In the first 48 hours after switch, compare submission counts with your pre-move baseline. It turns “seems quiet” into a measurable check. Hand this log over with your white-label web development brief.

Keep email routing alive: MX, SPF and DKIM are not part of the website

Your forms are tested, but where does the email go? Before moving anything, find out where mailboxes actually live. If email sits with the same provider as the website, changing nameservers or records can take email down too, and you will only hear about it when a customer says a message bounced.

Screenshot and export the full DNS zone, including MX, SPF, DKIM and DMARC records, noting who owns each one. Old agency records are often undocumented. If email stays put, copy MX exactly and add the new host’s sending IPs to SPF rather than replacing the record. Removing an existing SPF include can send you to spam.

After the switch, send test emails from the website to Gmail, Outlook and a business address, and check form notifications land in the new destination inbox, not the old one. Treat this as practical migration hygiene, not Google guidance: Google’s docs don’t cover MX, SPF or DKIM.

Keep analytics and conversion tracking continuous through the move

With email sorted, tracking is the next thing that quietly vanishes. Before the switch, confirm the GA4 tag, Google Tag Manager, Google Ads conversions, call tracking and remarketing pixels are all on the staging copy, and sit in the theme or header rather than relying on a single plugin.

  1. Check Search Console verification. A DNS TXT record survives a hosting move; an HTML file or meta tag might not. Set DNS as your primary method before switch day.
  2. Watch for double counting. An old plugin tag and a new GTM tag both loading is a common cause of inflated pageviews and conversions.
  3. Keep the same GA4 measurement ID so reporting continues, and annotate the switch date so any dip is read against the move.
  4. Test plugin compatibility. If tracking is plugin-managed, check it runs on the new host’s PHP and MySQL versions. A plugin that breaks on newer PHP can silently take your conversions with it.

Do this and your reporting stays intact, which makes the DNS section much less nerve-wracking.

Preparing the DNS switch: TTL, timing and what to leave alone

You’ve checked tracking fires and forms land; DNS alone stands between staging and public. People rush it, and it makes or breaks rollback, so take it steady.

Lower TTL on records you’ll change to 300 seconds or similar 24 to 48 hours ahead, speeding propagation and rollback.

Schedule the switch for your quietest traffic window, with someone able to act available for two to four hours. A Friday afternoon switch with nobody on the phone is a gamble.

Point the A record and related CNAME at the new host; leave MX, TXT, verification and other records untouched unless deliberately moving them. If editing more than a couple records, stop and check why.

Before switching, save the old DNS zone, keep old hosting paid, have registrar access ready; test new host directly before public DNS via hosts file entry or host’s temporary URL, checking live copy not production. Rollback only works if you can reverse the record in minutes, not hours.

What to watch after the switch: crawl errors, indexing and forms

Once DNS settles, switch from moving to watching. For the first week, check Google Search Console daily for crawl errors, 404s, server errors and new coverage issues, and compare indexed page count with pre-move baseline. Re-crawl the live site and diff it against the saved URL list to catch pages that never made it, redirect chains, or internal links still pointing at the old host. Confirm robots.txt and the XML sitemap are correct, and make sure no staging noindex or password protection followed you live. An accidental sitewide noindex is invisible until traffic flatlines. For the first 48 hours, watch form submissions, phone calls, checkout orders and analytics in real time. A drop to zero means investigate, not explain away. Expect a settling period, not a switch: treat month-long fluctuations as normal, and only check Change of Address status if the domain actually changed. For a second opinion, What you get from a technical SEO audit can confirm the basics.

When to roll back: clear triggers, not gut feeling

Conclusion: the checklist that keeps rankings, forms and email intact

Run it in order, and treat the checklist as a set of gates. No DNS change until staging, redirects, canonicals, forms, email and tracking have each passed a dated test. Keep URLs, structure and content identical, and leave Google’s Change of Address tool alone for a hosting-only move. Keep the old hosting and DNS setup payable for at least 30 days after the switch so a rollback stays possible, and check Search Console daily for the first week for crawl errors and indexing surprises.

If you would rather not run it yourself, hand this list to whoever is doing the move and ask for the test log back. For a second opinion before the site moves, Total Webz offers free site checks for businesses across Hexham, Newcastle, Durham, Darlington, Stockton, Middlesbrough, Carlisle and the wider North East and Cumbria.

Let's make your site earn its keep.

Talk to the person who'll actually build it. Reply within one working day.