GUIDE · CARE

Moving WordPress without losing rankings

Moving a WordPress site to a new host, theme or domain is a crawl problem before it is a hosting problem. This guide is the checklist for the owner or developer who has to keep the traffic: 12 steps across the week before launch, the launch window itself, and the 30 days after. Expect a week of preparation and a two-to-four-hour cutover. WordPress migration SEO is mostly bookkeeping done in the right order.

Updated 21 November 2026 8 min read

The short answer. Most traffic loss after a WordPress move is self-inflicted: missing redirects, lost canonicals, crawlers blocked by a copied noindex, a DNS record aimed at the wrong server. A migration is a crawl problem before it is a hosting problem. Snapshot what ranks, map every URL one-to-one, and check status codes before you change DNS.

The 12-step checklist

Steps 1 to 8 run before DNS changes, 9 and 10 in the window, 11 and 12 after.

Phase 1: before the move (steps 1–8)

  1. Baseline snapshot. Export 90 days of clicks by landing page, the indexed page count and rankings for the top 50 queries. Skip it and a broken redirect looks like a quiet week.
  2. Staging clone. Copy files and database to staging behind HTTP auth, indexing off. WordPress's moving guide covers the copy; the crawl side is yours. Skip it and launch night is the first test.
  3. PHP and MySQL versions. Record both on the old host, match or exceed them on the new one, and test on staging. Skip it and cutover returns a fatal error.
  4. Plugin and theme audit. List versions and last updates, remove what you do not use, and flag plugins storing absolute URLs or binding a license to the domain. Skip it and an abandoned plugin moves with you.
  5. URL inventory and 1:1 redirect map. Crawl pages, posts, images, feeds and archives, then map each old URL to one destination with a single 301. Skip it and old URLs 404 with their backlinks intact.
  6. Internal links and canonicals. Fix links at the source, check home and siteurl, and confirm one absolute, self-referencing canonical per template. Skip it and the canonical can name the old host after cutover.
  7. hreflang, if the site is multilingual. Point every hreflang and x-default URL at the new host and keep the cluster self-referencing. Skip it and search engines drop the cluster.
  8. DNS TTL, 48 hours before. Drop A, AAAA and CNAME TTLs to 300 seconds and wait two days for resolvers to expire the old value. Skip it and rollback takes a day to land.

Phase 2: the launch window (steps 9–10)

  1. Launch window and content freeze. Use a two-to-four-hour window at low traffic, inside support hours, and stop edits at the database export. Skip it and posts written after the copy vanish.
  2. robots.txt, sitemap and canonicals. Remove staging disallows and the test noindex, confirm the sitemap lists one host, and check the rendered head on five templates. Skip it and a copied noindex can deindex the site.

Phase 3: after the move (steps 11–12)

  1. Crawl and compare status codes. Diff a new crawl against the baseline: 200s stay 200, every 301 ends at a 200 in one hop, no backlinked page 404s. Skip it and Search Console reports it weeks later.
  2. 30-day monitor and rollback criteria. Watch clicks by page, indexed count, crawl errors and 5xx daily for a week, then weekly. Skip it and a slow leak goes unnoticed.

What to capture before, and what to check after

Write the comparison down first. Treat the deltas as planning thresholds, not benchmarks.

Signal Capture before Verify after Acceptable delta
Clicks, impressions and positions90 days by landing page and 20–50 queriesSame reports on day 7 and day 28Down no more than 10% for two weeks
Indexed pagesCount and exclusions from the Pages reportSame property, same reportWithin a few pages
Status codesFull crawl of the old host, every statusFull crawl of the new host200s stay 200; 301s end at a 200 in one hop
Canonical and hostRendered head on 20 templatesSame 20 templatesOne absolute, self-referencing canonical
SitemapURL count and last modified datesSitemap fetched from the new hostCount matches live URLs; no old host

A three-day dip is common while the new host is recrawled. Two weeks below the floor is a decision, not noise.

Same domain or new domain: what actually changes

When only the server changes, URLs stay the same. Nothing is filed in Search Console, and no redirect map is needed if the structure is untouched. You monitor.

When the domain changes, the site move documentation applies: verify both properties, file the change of address on the old one, keep redirects, and point the sitemap at the new domain. Verify the old domain with a DNS TXT record, not a file on the old host, so access survives the account being cancelled. A theme rebuild or permalink change on the same domain is a redirect job, not a change of address.

Moving host and domain together is harder to diagnose. Move one variable at a time.

The three mistakes that cost the most traffic

None is a hosting failure. All three are configuration left half-done.

Staging left crawlable

WordPress's Search engine visibility checkbox writes a disallow line to robots.txt. It does not remove an indexed URL, and it does not stop indexing when another site links to the staging page. Put HTTP auth in front of staging at the server, add an X-Robots-Tag: noindex header, and check both with curl -I. Indexed staging URLs become 404s that Search Console keeps for months.

Redirect chains instead of 301s

An old URL that hops through http, then www, then a trailing slash is three requests, more latency, and more places for the chain to break. Worse, regex rules for old posts often catch /wp-json/ or /wp-admin/ and answer with 301s, breaking the admin and the checkout API. Map each old URL to its final destination in one hop, test with curl -sI, and count Location hops. Use 301 or 308 for a permanent move, as Google's redirect guidance sets out; a 302 or meta refresh is a different instruction.

Sitemap and canonical still on the old host

On a domain change, WordPress keeps the old address in two options, and a search-replace over post content does not touch serialized theme settings or a cached sitemap. The result is a sitemap full of old URLs and a canonical naming the old host. Check wp option get home, fetch the sitemap from the new domain, and read the head of five templates.

Rollback: decide before launch, not at 2am

Write the trigger and the mechanics before the window, and give the person at the keyboard authority to use them.

  • Keep the old host paid for 30 days. A cancelled account cannot be restored in an hour, and the DNS credentials usually live with it.
  • With a 300-second TTL, records point back within minutes. With a 24-hour TTL, rollback takes a day.
  • Once redirects are live, rolling back means three actions: serve the old URLs with 200 again, restore the database from the freeze point, and point DNS back. Anything published after the freeze is lost unless you export it first.
  • A 301 is cached by the browser. Deleting the rule does not reach visitors who already followed it, so keep the new site answering while you roll back.
  • Agree the trigger: clicks 30% below baseline for three days, more than 5% of crawled URLs on 5xx, a failing checkout, or sitemap and canonical on the wrong host. Two of those at 72 hours means roll back.

Where Keelpost fits, and what we do not sell

We do not sell a migration package with a fixed URL count. If the move is really a rebuild, it is a fixed build: Starter Site $1,900 over 10 business days, Store Build $3,200 over 15. See what a fixed build includes.

Before copying a site off a host you no longer trust, the $490 security audit takes three business days and checks updates, access, headers, backups, plugins and exposed files. A backdoor copied to the new host survives the move. Read what to do if the old site was already compromised.

After launch, care from $129 a month covers the monitoring half of step 12: updates, backups, uptime and TLS checks, and a monthly report. See what monthly care covers and what WordPress maintenance costs. Support runs 09:00–18:00 GMT+8, Monday to Friday, and we are not a 24/7 SOC; a cutover outside those hours is yours alone.

FAQ

Questions buyers ask before they email

How long does a WordPress migration take without losing SEO?
Preparation is the long part: about a week for the baseline, staging clone, URL map and redirect tests. The cutover runs two to four hours, then 48 hours for DNS and 30 days of monitoring. A new domain adds waiting, not work.
Do I need the change of address tool when I move hosts?
No. It applies when the domain changes, not when the server does. A host move, theme rebuild or permalink change on the same domain is handled with 301 redirects and updated canonicals. Filing it for a same-domain move tells search engines something untrue.
How long should 301 redirects stay after the move?
Longer than the migration. Google asks for redirects to stay as long as possible; a year is the usual floor. Any URL with backlinks should redirect while the old address is known. Removing them early turns a temporary move into a permanent loss.
Why did traffic drop after moving WordPress?
Check four things in order: the canonical host, robots.txt and noindex headers, redirect status codes, and the sitemap. Most drops trace to one of them. A dip in the first two weeks is normal; a drop that deepens in week three is not.
Can a WordPress migration happen with no downtime?
Not with a DNS change, though the gap can be minutes. Lower the TTL 48 hours ahead, test the new server directly, then switch records in one edit. Visitors on cached DNS still reach the old host, another reason to keep it for 30 days.

NEXT STEP

Send the URL list before you book a launch window.

We will crawl the staging site, compare it with the old one and tell you which redirects are missing.