The short version
Moving one WordPress site is a copy and a DNS change. Moving twenty client sites is a change programme, and what goes wrong is rarely the copy. It is the cron job that ran on the old server and nobody recreated, the contact form whose mail now fails the client’s SPF record, the order a customer placed on the old host twenty minutes after you thought traffic had moved, and the client who learns about the migration from their own customers.
The runbook below rests on three rules:
- Keep a way back until the new host has proven itself. The old host stays intact, paid for and untouched until acceptance has passed and traffic has drained. Rollback is a DNS change only while that is true.
- Decide the rollback triggers before the window, not during it. At two in the morning everyone wants to fix forward. Write down in advance what failure means you go back.
- Migrate in waves, starting with the site that matters least. The first site teaches you what your inventory missed. Let it be a brochure site, not the client with a shop.
Nothing here promises zero downtime. A well-run cutover keeps the interruption short and visible to you; it does not make it impossible, and you should not tell a client otherwise.
Scope and assumptions
For an agency moving roughly 5 to 50 client WordPress or WooCommerce sites from one hosting arrangement to another: consolidating onto a new platform, leaving a host, or moving inherited sites onto your own stack. The domain names are assumed to stay the same; where a domain also changes, the redirects section covers the extra work.
Assumed: you can reach the old host, the new host, each domain’s DNS, and each site’s WordPress admin; you have a working backup arrangement; and someone at each client can approve a maintenance window.
Covered elsewhere, and linked rather than repeated:
- Backup policy and the restore drill are in the backup and restore checklist. This page only asks for a verified backup at the freeze point.
- Who holds which credentials, and how to hand access back are in the access control and handoff guide.
- Recovery objectives (RPO and RTO) and incident recovery are in the disaster recovery plan. A migration is a planned change, not a disaster, but it borrows the same discipline.
- Where the sites should end up is an architecture decision, covered in three practical hosting architectures and managed vs self-managed hosting.
Step 1 — Inventory every dependency, per site
The site is the easy part of the inventory. The dependencies around it are what break on the night. One row per site, filled in before anything moves:
| Field | Why it matters during a migration |
|---|---|
| Domain(s) and registrar | Including www, apex, and any parked or redirecting domains |
| Who controls DNS | Registrar, a DNS provider, the old host, or the client’s IT team — get a name |
| Current DNS records | A full export of the zone, not just the A record |
| Current TTLs | You need these to schedule the TTL reduction (Step 3) |
| Mailbox provider (MX) | Must keep working through the move; often hosted by the old host |
| How the site sends email | Local mail function, SMTP relay or an API service |
| Scheduled jobs | WP-Cron only, or a server-level cron entry calling it or other scripts |
| Server-level rules | Custom rewrite rules, redirects, IP allow-lists, basic auth |
| PHP and database versions | Old and new; a mismatch is a test item, not a surprise |
| Size of files and database | Drives transfer time and whether a content freeze is practical |
| Offloaded media or CDN | Buckets and CDN origins that point at the old server |
| Third-party integrations | Payment webhooks, CRM, licence keys tied to a domain or IP |
| Writes per hour | Orders, form entries, comments, member sign-ups — decides the freeze strategy |
| Client contact and approver | Who approves the window and who receives the “it’s done” message |
| Risk tier | Brochure, lead generation, or revenue — decides the wave and the rollback tolerance |
The “writes per hour” column is the one that shapes everything else. A brochure site that changes once a month can be copied any afternoon. A shop taking orders cannot be copied at all without a plan for the orders placed while the copy is in flight.
Batch the portfolio into waves
A judgement, not a documented control: group sites into waves of increasing risk.
- Wave 0 — pilot. One low-traffic, low-write site, ideally your own or a willing client’s brochure site. Its purpose is to find the gaps in the inventory.
- Wave 1 — brochure and low-write sites. Several per window, once the pilot has passed acceptance and stayed up for a few days.
- Wave 2 — lead generation and membership sites. Fewer per window; forms, email and integrations get the extra attention.
- Wave 3 — commerce and anything revenue-critical. One per window, with a content freeze or maintenance mode, and the most conservative rollback triggers.
Do not move every site in one night. If something systemic is wrong with the new platform — a PHP setting, a firewall rule, a mail relay — you want to discover it on one site, not on all of them at once.
Step 2 — Credentials and access
Before the window, confirm you can actually do every step. The usual blocker is not a missing password but a second factor tied to a person who is not there.
- DNS access for every domain, tested by logging in, not assumed. If the client’s IT team controls DNS, agree who makes the change and how to reach them during the window.
- Old host access sufficient to export files and the database and to re-enable the site if you roll back.
- New host access with the role needed to create sites. Hosts restrict this: Kinsta’s documentation, for example, says only a Company Owner or Company Administrator can request a migration.
- Two-factor authentication and migration teams. If a host’s support team is doing the copy, its access to the old host can be blocked by 2FA. Kinsta’s documentation names several source hosts where this happens and asks you to add its migration team’s address to the account first. Plan this a day ahead, and remove that access afterwards.
- WordPress admin for a named account on each site.
- Third-party dashboards: SMTP or email API, payment gateway webhooks, CDN, licence portals.
Every temporary credential created for the migration goes on a list, and the list is cleared after the old host is decommissioned. The access control guide covers rotation and handback in detail.
Step 3 — DNS: lower the TTL early enough to matter
A record’s TTL is, in the words of RFC 1035, the time interval that the record may be cached before it should be consulted again. Resolvers that fetched your A record an hour before the cutover will keep serving the old address until that interval expires. Two consequences follow:
- Lowering the TTL only helps after the old TTL has elapsed. If a record currently has a TTL of one day, lowering it on the morning of the migration achieves nothing for caches that fetched it yesterday. Lower it at least one full old-TTL period before the window, and preferably longer.
- Some clients will still reach the old host after the change. That is why the old host stays running and why writes to it during the overlap need a plan (Step 5).
Google’s site-move guidance suggests lowering the TTL at least a week before a hosting move, to a conservative low value such as a few hours. Kinsta’s migration documentation suggests lowering it to 300 seconds 12 to 24 hours beforehand. Both are reasonable; the constraint that matters is the current TTL, which is why the inventory records it.
Two further points:
- Changing an A record and changing nameservers are different operations. Pointing a domain at a new host’s nameservers moves the whole zone: every MX, TXT, CNAME and verification record must already exist at the new provider, or mail and integrations stop. SiteGround’s migrator tutorial, for instance, ends with pointing the domain to its nameservers. If you only need the website to move, changing the A (and AAAA) records at the existing DNS provider is the smaller change.
- Nameserver delegation is cached separately, partly under TTLs set in the parent zone (the registry) that you usually do not control, so a nameserver change can take longer to settle than a record change. A judgement: during a multi-site migration, avoid changing DNS providers in the same window as changing hosts. Do one, let it settle, then the other.
Raise the TTL back to its normal value once the new host has passed acceptance and you have decided not to roll back.
Step 4 — Backups and the staging copy
Take a fresh, verified backup of each site at the freeze point, stored outside both the old and the new hosting account. This is the backup you restore from if the migration damages data and both hosts are wrong. The backup checklist covers what “verified” means; at minimum, confirm the archive opens and contains the database and uploads.
Then build the copy on the new host and test it before any DNS change:
- Test on the new host’s temporary URL, if it provides one, or by overriding the hostname on your own machine so the browser requests the real domain from the new server. The second approach tests the site as it will actually run, but TLS certificates may not validate until DNS points at the new host; note that rather than treating it as a failure.
- Stop the copy being indexed. A temporary URL that search engines can crawl is a duplicate of the client’s site. Block it while testing.
- Remove the block before cutover. Google’s guidance on hosting moves explicitly warns to remove temporary crawling blocks from the new copy. A staging “noindex” that survives go-live is one of the more expensive migration mistakes, because nothing visibly breaks.
Step 5 — Database and media: the freeze and the delta
The copy takes time. Anything written to the old site after the copy started is not in the new site. The strategy depends on the “writes per hour” column.
| Site type | Strategy |
|---|---|
| Brochure, rare edits | Ask the client not to edit from the copy until cutover is confirmed. Copy once. |
| Lead generation, forms | Copy in advance; at the window, re-sync the database. Forms submitted during the overlap may land on either host — check both, and export entries from the old. |
| Commerce, membership | Maintenance mode or checkout disabled on the old site from the final sync until DNS has moved. Accept the interruption; do not try to merge two order tables. |
| Large media, rare edits | Sync uploads in advance, then sync only the changes at the window. |
Kinsta’s documentation, for its own migration service, strongly recommends maintenance mode for stores, membership and community sites during migration, and says the live site stays in that mode until DNS is updated and propagated. SiteGround’s tutorial advises making no site changes for 48 hours after the DNS switch. Both are vendor-specific instructions, but the principle is general: a site written to in two places at once has two diverging databases, and reconciling them is manual.
When the URL changes during the copy
If the copy runs under a temporary domain, or the final domain differs, URLs
stored in the database must be replaced. WordPress’s own migration
documentation warns that a naive search and replace can break serialised data,
because some themes and plugins store string lengths alongside values. WP-CLI’s
search-replace command handles serialised PHP data, and supports a
--dry-run that reports what would change without writing.
The same WordPress document is emphatic that the guid column of the posts
table must not be changed. An illustrative sequence, which a human should
verify against the WP-CLI documentation and their own setup before running:
# Always against the NEW copy, never against the old production site.
wp db export pre-replace.sql
wp search-replace 'https://temp.example.net' 'https://www.example.com' \
--skip-columns=guid --dry-run
# Read the report. Then run the same command without --dry-run.
wp cache flush
Also check siteurl and home, which WordPress documents as needing the full
scheme and no trailing slash, and whether they are hard-coded as WP_HOME and
WP_SITEURL in wp-config.php. Update the database credentials in
wp-config.php for the new server. If you used the RELOCATE constant to
recover a site, WordPress’s documentation calls leaving it in place insecure;
remove it.
Offloaded media is not in a file copy. Check where uploads actually live; if a bucket or CDN origin points at the old server’s hostname or IP, it needs repointing.
Step 6 — Email and cron: the dependencies that fail quietly
Neither of these shows up when you load the home page on the new host, which is why they are where most migrations go wrong after “it works”.
Separate the two kinds of email before you touch DNS:
- Mailboxes (MX). If the old host provides the client’s mailboxes, moving nameservers or cancelling the old account can take email down. Kinsta’s documentation is explicit that its migration does not include setting up email, pointing the domain, or configuring third-party services. Assume the same of any migration service unless its documentation says otherwise.
- Mail the site sends — form notifications, password resets, order
receipts. If the site sends directly from the web server, the new server’s
address may not be authorised by the domain’s SPF record. RFC 7208 defines
SPF as the list of hosts permitted to use the domain in the mail envelope;
mail from an unlisted host can be rejected or filtered. The same RFC limits
evaluation to ten DNS-querying terms, so adding a new
includeto an already crowded record can break it entirely.
A judgement: before migrating, move each site’s outbound mail to an authenticated SMTP relay or email API that does not depend on which server the site runs on. Then the migration does not change the sending path at all.
Cron
WordPress’s scheduler, WP-Cron, is triggered on page loads rather than running
continuously. Many agencies replace that trigger with a server-level schedule:
WordPress’s documentation describes calling wp-cron.php from the system task
scheduler and adding DISABLE_WP_CRON to wp-config.php so page loads no
longer trigger it.
That arrangement creates two migration risks:
- The server-level job does not travel with the site. A file and database
copy brings across
DISABLE_WP_CRONbut not the system schedule. On the new host, nothing runs scheduled tasks at all: no scheduled posts, no subscription renewals, no backup plugin runs. - Both servers can run jobs during the overlap. If the old server’s schedule still runs against the old copy, it may send duplicate reminder emails or push duplicate data to an integration. A judgement: disable scheduled jobs on the old copy at the moment of cutover, and record that you did, so a rollback can re-enable them.
Redirects and URL changes
Server-level rules do not always travel. WordPress’s documentation tells
you to back up .htaccess, preserve custom rules, regenerate permalinks and
restore the custom rules. If the new host’s web server does not read
.htaccess files, those rules must be rewritten in its own configuration or
recreated in a redirect plugin. Test a sample of old redirects as part of
acceptance.
If the domain or URL structure also changes, this is a site move in Google’s sense, and its guidance is specific: map every old URL to its closest new equivalent, use server-side permanent redirects (301 or 308), redirect straight to the final destination rather than chaining, avoid sending many old URLs to the home page, and keep the redirects for as long as possible — generally at least a year. Search Console’s Change of Address tool is only for moves between domains or subdomains. A judgement: do not combine a host move with a domain or URL-structure change in the same window. Two changes at once means two possible causes for every problem.
The change plan
The first of three assets. One copy per site, filled in before the window. Every bracketed field is yours; none is pre-filled, because a pre-filled time would be a fiction.
MIGRATION CHANGE PLAN
Site / client ............... [ ] Wave [0 / 1 / 2 / 3]
Change owner ................ [name] Second person [name]
Client approver ............. [name, approved on YYYY-MM-DD]
Window ...................... [YYYY-MM-DD HH:MM to HH:MM, timezone]
Old host / new host ......... [ ] / [ ]
DNS controlled by ........... [ ] Contact during window [ ]
Current TTL / lowered TTL ... [ ] / [ ] Lowered on [YYYY-MM-DD HH:MM]
Freeze strategy ............. [ask-no-edits / re-sync / maintenance mode]
Rollback deadline ........... [time after which rollback needs data merge]
BEFORE THE WINDOW
[ ] Inventory row complete; unknowns resolved or accepted in writing
[ ] TTL lowered at least one old-TTL period ago
[ ] DNS zone exported; all records exist where they will be needed
[ ] Credentials tested for DNS, old host, new host, WordPress, integrations
[ ] Outbound mail path confirmed; SPF covers the sending path after the move
[ ] Copy built on new host; acceptance checklist run on the temporary URL
[ ] Server-level cron and rewrite rules recreated on the new host
[ ] Client told the window, the expected interruption and the contact
IN THE WINDOW
T0 Start; announce to client .......................... [HH:MM]
T1 Fresh verified backup taken, stored off both hosts . [HH:MM]
T2 Freeze applied on old site ......................... [HH:MM]
T3 Final database / media sync to new host ............ [HH:MM]
T4 URL replacement (if any), caches flushed ........... [HH:MM]
T5 Acceptance re-run on new host before DNS ........... [HH:MM]
T6 GO / NO-GO decision by change owner ................ [HH:MM]
T7 DNS changed (records: ...) ......................... [HH:MM]
T8 Cron disabled on old copy; recorded ................ [HH:MM]
T9 Acceptance run against the live domain ............. [HH:MM]
T10 Freeze lifted; client told ......................... [HH:MM]
AFTER THE WINDOW
[ ] Old host logs watched until traffic has drained
[ ] Backups confirmed running on the new host (first one restorable)
[ ] Monitoring and uptime checks repointed
[ ] TTL raised to normal
[ ] Temporary credentials and migration-team access removed
[ ] Old host decommissioned only after: [condition, date, name]
The two lines worth arguing over are the rollback deadline and the decommission condition. The rollback deadline is the point after which going back means losing or hand-merging data written on the new host — for a shop, the first real order. The decommission condition is the opposite end: Google’s guidance is to keep the old infrastructure until its logs show traffic has dropped to zero, and Kinsta’s documentation says not to cancel the previous host until you have confirmed the site loads correctly from the new one.
The acceptance checklist
The second asset. Run it twice: once against the temporary URL before DNS changes, and again against the live domain after. Unlike the restore drill, which asks whether a site came back from a backup, this asks whether the site behaves identically in a new environment.
| Check | How to confirm | Before DNS | After DNS |
|---|---|---|---|
| Domain resolves to the new host | Query public resolvers, not just your own machine | n/a | [ ] |
| TLS certificate valid for every hostname, including www | Browser and a command-line check | n/a | [ ] |
| Home, a deep page, a search result and a 404 render | Compare with the old site side by side | [ ] | [ ] |
| No references to the temporary URL or old host | Search the rendered HTML and the database | [ ] | [ ] |
| No mixed-content warnings | Browser console | [ ] | [ ] |
| Media loads, including offloaded storage and CDN | Open several older uploads | [ ] | [ ] |
| Admin login for a named user; editing and saving work | Save a draft, then delete it | [ ] | [ ] |
| Forms submit and the notification arrives | Check the received message’s authentication results, not just arrival | [ ] | [ ] |
| Password reset email arrives | As above | [ ] | [ ] |
| Scheduled tasks run once, on the new host only | Schedule a harmless event and watch it fire | [ ] | [ ] |
| Commerce: test-mode checkout completes; gateway webhooks reach it | Gateway dashboard shows delivery to the new host | [ ] | [ ] |
| Sample of old redirects return the same status and destination | Check status codes, not just the final page | [ ] | [ ] |
| Search engine directives correct for this environment | Temporary URL blocked; live domain not blocked | [ ] | [ ] |
| No fatal errors in the PHP log after a period of traffic | Read the log on the new host | [ ] | [ ] |
| Backups running on the new host | A completed backup exists and opens | n/a | [ ] |
| Uptime monitoring points at the new host | Monitor shows the new address or passes after cutover | n/a | [ ] |
| Old host: scheduled jobs disabled, still reachable for rollback | Check both | n/a | [ ] |
Any failure before DNS is a reason not to change DNS. A failure after DNS goes to the decision tree.
The rollback decision tree
The third asset. Agree it with the second person before the window, so that the decision during the window is a lookup, not a debate.
Acceptance failure after DNS change
│
├─ Is the failure cosmetic or limited to one non-critical feature?
│ └─ YES → Fix forward. Log it. Tell the client if they will notice.
│
└─ NO (site down, forms/checkout/email broken, data missing, errors)
│
├─ Can it be fixed on the new host within the remaining window?
│ └─ YES, and the fix is understood → Fix forward, re-run acceptance.
│ Set a hard time limit.
│
└─ NO, or the time limit has passed
│
├─ Is the old host still intact, unchanged and reachable?
│ └─ NO → Do not roll back to it. Restore the freeze-point
│ backup to a known-good host instead (see DR plan).
│
└─ YES
│
├─ Has the new host accepted writes that matter
│ (orders, sign-ups, form entries, edits)?
│ │
│ ├─ NO → ROLL BACK: lift freeze on old host,
│ │ re-enable its cron, revert DNS records,
│ │ tell the client.
│ │
│ └─ YES → Past the rollback deadline.
│ Export those writes from the new host FIRST,
│ then roll back, then re-enter them on the
│ old host — or decide to fix forward.
│ Change owner decides; record why.
│
└─ After any rollback: keep TTL low, write up the cause,
reschedule. Do not retry in the same window.
Three things this tree assumes, and which are worth stating:
- Reverting DNS is subject to the same caching as the forward change. Some visitors will keep reaching the new host for up to the lowered TTL. That is why the TTL stays low until you have decided not to roll back.
- Rollback is only cheap before the new host takes writes. That is the whole reason for the freeze on high-write sites.
- A rollback is not a failure of the runbook. It is the runbook working. The failure is a migration with no way back.
Maintenance window and client communication
Choose the window from the client’s traffic and business hours, not yours, and make sure the change owner and second person are both awake and reachable for it. Kinsta’s documentation notes that its migration team does not work at weekends; whatever service you use, confirm its hours cover your window and the period after it.
A judgement on what the client should hear, and when:
| When | What to tell them |
|---|---|
| Two weeks before | Why the move is happening, the proposed window, what you need from them (DNS access, mail provider details, integration logins) |
| A week before | Confirmed window; a short interruption is possible and how long you expect it to be; content freeze rules if any |
| Start of window | It has started; who to contact |
| End of window | Done or rolled back, in plain words; what to check on their side (receiving form email, orders, logins) |
| A week after | Old host decommissioned or a date for it; anything that changed for them (new login URL, new backup arrangement) |
Do not promise zero downtime, and do not quote a host’s migration time as yours. Say how long you expect the interruption to be, why, and what you will do if it runs over.
Host migration services, as documented
The three hosts below publish migration tools or services. What follows is only what each vendor’s own pages said when read on 24 November 2026. None of it was tested, plans and terms change, and none of it removes the need for the inventory, DNS, email, cron and acceptance steps above. Prices are not quoted.
| Host | What the vendor documents | What it does not do for you, per its own documentation |
|---|---|---|
| Kinsta | A migration request service in its dashboard, from another host’s credentials or from a backup containing files and database. Each request needs a free site slot on the plan. Scheduled or as-soon-as-possible; weekdays only. Multisite networks are moved whole, not one sub-site. Maintenance mode strongly recommended for stores and membership sites. Bulk migrations go through support. | Pointing the domain, configuring third-party services and setting up email are excluded. The site does not go live until you change DNS. |
| Cloudways | A free WordPress Migrator plugin, installed on the source site, that copies files and database to a Cloudways application using its server and SFTP details; the plugin directory listing says it only migrates to Cloudways. The product page also lists one migration handled by its team, requested by ticket, on some plans. | The product page describes “minimal downtime” and does not promise none. The plugin page gives only a general description of what is transferred and no list of what is not, so check it yourself. |
| SiteGround | A Migrator plugin driven by a token that is unique to each transfer. Each transferred site gets a temporary URL active for 48 hours for checking before the DNS change, after which the domain is pointed to SiteGround’s nameservers. | The tutorial lists WordPress.com, locally built sites and Multisite as unsupported by the plugin. Its statement of no downtime refers to the current site during the copy, not the cutover. |
A judgement: a host’s migration tool solves the copy, which is the part of a portfolio migration that was least likely to go wrong. Use it if it saves time. Do not let it substitute for the change plan, because none of these services owns your DNS, your client’s email, your cron schedule or your client’s expectations.
For how these hosts compare on other agency concerns, see the Cloudways vs Kinsta and Cloudways vs SiteGround comparisons.
When you should not buy anything
- To migrate. Everything in this runbook can be done with the hosts you already pay for, WP-CLI, and a DNS login. A paid migration service or plugin buys time on the copy, not safety on the cutover.
- When the problem is not the host. If a site is slow because of its plugins or its database, moving it moves the problem. Diagnose first.
- When you cannot keep the old host for the overlap. If the old contract ends the day you migrate, you have no rollback. Extend it, or pay for one more month, before buying anything at the destination.
- To migrate everything at once. A tool that promises the whole portfolio overnight removes the waves, which were the safety mechanism.
What this page does not cover
- Multisite networks, which need different handling and, per two of the hosts above, are either moved whole or not supported by the self-service tool.
- Headless, Bedrock-style or otherwise non-standard WordPress layouts, where paths and configuration differ from a standard install.
- Moving the DNS provider or registrar itself. Mentioned only to say: do it in a separate window.
- Mailbox migration between email providers, which is its own project.
- Contractual and data-protection questions about moving client data between providers or regions. Take advice.
- A measured migration. Nothing on this page was timed or rehearsed.
How this page will change
This is a runbook that has not yet been run by this site. The planned next step is a controlled migration of a non-production test site between two hosts, following the change plan above and published with its real timings, defects and any rollback — which would be a different evidence label. Until then, read the plan as a structured starting point to adapt and rehearse, not as a proven procedure. The methodology page sets out what each label commits to. The vendor rows will be re-checked by the review date.