New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Migration

How to migrate WordPress to a new host

Hosting migration means moving files, database, and DNS with minimal downtime. A rehearsed checklist prevents broken media, login loops, and lost email during the switch.

Time: 2-4 hours Level: Advanced

What this problem looks like

Migration is backup and restore plus DNS timing. Most downtime comes from waiting on DNS propagation, not file transfer.

Move email separately if the domain MX records change. WordPress migration does not automatically move mailboxes.

Keep the old host online for 48 hours after cutover until DNS fully propagates and you confirm backups on the new server.

Prepare the new server

  • Match or exceed PHP version and extensions from the old host.
  • Create database and user with strong passwords.
  • Install SSL certificate for the domain.
  • Note whether you need dedicated IP or IPv6 support.

Transfer files and database

Zip wp-content on the old server, download, and upload to the new document root. Export SQL and import on the new database.

bash
rsync -avz oldhost:/path/to/wp-content/ ./wp-content/
wp search-replace 'https://tempsubdomain.host.com' 'https://example.com' --all-tables

Test before DNS switch

Edit your local hosts file to point example.com at the new server IP. Browse the site and wp-admin privately before public cutover.

Migration plugins like Duplicator bundle files and SQL into one archive for smaller sites.

DNS cutover checklist

  1. Lower TTL to 300 seconds a day before migration.
  2. Update A record to new IP.
  3. Wait for propagation and test from mobile data.
  4. Cancel old host only after a week of stable traffic.

Post-migration fixes

Regenerate permalinks, flush object cache, and reauthorize CDN integrations.

Update cron: disable DISABLE_WP_CRON if the new host uses system cron, or keep default wp-cron if traffic-driven cron is acceptable.

When to stop DIY and hire help

WooCommerce and multisite migrations have extra tables and DNS risk. BugShield migrates WordPress to new UK hosts at a fixed quoted price with rollback planning.

FAQs

How long does DNS propagation take?

Anywhere from minutes to 48 hours depending on TTL and ISP caches. Lower TTL before you migrate.

Can I migrate without downtime?

Near-zero downtime is possible with DNS switching after a tested clone, but some sessions may hit the old server briefly.

Do I need to reinstall WordPress core?

You can copy core files or run a fresh core download on the new host with the same wp-config and wp-content.

What about serialized data in migrations?

Use WP-CLI search-replace or migration plugins that handle serialization. Avoid blind SQL replace.

Rather someone else fixed it?

Request a fix at a confirmed price. Named UK developer, secure Vault, direct chat.

Request a Fix