Moving a WordPress site to a new host is one of those tasks that sounds intimidating but is genuinely manageable once you know the steps. Whether you’re chasing better performance, lower costs, or more reliable support, migrating your WordPress website correctly means zero data loss and minimal downtime. This guide walks you through every stage, from pre-migration prep to DNS cutover.
Before You Start: The Pre-Migration Checklist
Rushing into a migration without preparation is the most common reason things go wrong. Take 20 to 30 minutes to complete these steps before touching anything.
- Back up your entire site. Export your database and download all files from your current host. Most hosts offer one-click backups in cPanel or a similar panel.
- Check your new host’s PHP version compatibility. WordPress 6.x recommends PHP 8.1 or higher. Confirm your new environment matches before you migrate. You can read more about this at the official WordPress requirements page.
- Note your current DNS TTL. Lower it to 300 seconds (5 minutes) at least 24 hours before migrating so DNS changes propagate faster.
- Document your database name, username, and password. You’ll need these when setting up the new database later.
- Choose a migration method. Plugin-based migration is best for most users; manual migration gives maximum control for developers or complex setups.
Method 1: Migrate WordPress Using a Plugin (Recommended)
A migration plugin handles the heavy lifting automatically, which makes this the right approach for most site owners. Plugins like Duplicator or All-in-One WP Migration are free, well-maintained, and widely used.
Step 1: Install and Run a Migration Plugin
Install your chosen migration plugin on your current WordPress site. Run the export or package wizard. The plugin will bundle your files and database into a single downloadable archive, typically in the range of a few hundred MB to several GB depending on your site size.
Step 2: Set Up Hosting on the New Server
Log in to your new host’s dashboard and create a new WordPress installation or blank hosting environment. If your new host offers WordPress hosting migration assistance, check whether they’ll handle this step for you automatically. Many managed hosts do this at no extra charge.
Step 3: Import the Package
Install the same migration plugin on your new WordPress install. Upload the archive from step 1, then run the import wizard. The plugin remaps database references and file paths automatically. This entire process typically takes 5 to 30 minutes depending on archive size and server speed.
Method 2: Manual WordPress Migration (Maximum Control)
If you prefer to migrate WordPress without a plugin, or if your archive is too large for a plugin upload limit, the manual method works reliably. It takes more steps but gives you complete visibility into what’s happening.
Step 1: Export Your WordPress Database
Log in to phpMyAdmin on your current host. Select your WordPress database, click “Export,” and download the SQL file. Keep this file somewhere safe on your local machine.
Step 2: Download Your Site Files
Connect to your current server via FTP (FileZilla is a free, popular option) or SFTP. Download the entire public_html directory, which includes your wp-content folder, themes, plugins, and uploads. This is the most time-consuming part of a manual migration.
Step 3: Create a New Database on the New Host
Inside your new host’s control panel, create a fresh MySQL database. Assign a database user with full privileges and write down the database name, username, and password. You’ll need all three in the next step.
Step 4: Edit wp-config.php
Open the wp-config.php file you downloaded in step 2. Update the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST values to match your new database credentials. Save the file before uploading.
Step 5: Upload Files and Import the Database
Upload all your site files to the new server via FTP. Then go to phpMyAdmin on the new host, select your new database, click “Import,” and upload the SQL file from step 1. Once the import completes, your WordPress website’s content is fully on the new server.
Step 6: Update DNS Settings
Go to your domain registrar and point your domain’s A record to your new host’s IP address. Because you lowered the TTL earlier, propagation should complete within 1 to 2 hours globally, though ICANN notes that full worldwide propagation can occasionally take up to 48 hours.
Migrating to a New Domain at the Same Time
If you’re also moving your WordPress site to a new domain, there’s one extra task: updating all internal URLs in the database. The easiest way is to use the Search Replace DB script or the WP-CLI command wp search-replace 'olddomain.com' 'newdomain.com' --all-tables before you update DNS. Skipping this step causes broken links and images throughout the site.
After the URL swap, submit an updated sitemap to Google Search Console. You can read the sitemap guide on WebVibo to get that set up correctly.
Post-Migration Checklist
Once DNS has propagated, run through this list before you consider the migration complete.
- Visit your site in a private/incognito window to confirm it loads from the new host.
- Check all pages and posts for broken images or internal links.
- Test your contact forms and checkout if you run an ecommerce or membership site.
- Confirm SSL is active. Your new host should provision a certificate automatically. If you need details on what to expect, the post on SSL certificates and free provisioning covers it well.
- Re-enable caching. If your new host includes LiteSpeed Cache, activate it now for an immediate performance boost, typically up to 10x faster page loads compared to uncached delivery.
- Cancel your old hosting plan only after 48 to 72 hours of stable operation on the new server.
How to Migrate Without Losing SEO Rankings
SEO risk during a migration is real but manageable if you follow a short checklist. The main causes of ranking drops after a host migration are broken URLs, missing redirects, and slow page speed on the new server.
- Keep all URLs identical unless you’re intentionally changing domains.
- Set up 301 redirects for any URLs that do change.
- Check page speed immediately using Google PageSpeed Insights. A slower new host can erode rankings within weeks.
- Resubmit your XML sitemap in Google Search Console after the move.
- Monitor Google Search Console for crawl errors over the first 14 days.
Choosing a host built for performance from the start reduces this risk substantially. If you’re evaluating options, the guide on how to evaluate a web hosting company is worth reading before you commit.
Frequently Asked Questions
How do I transfer a website to a different host?
The core process involves 3 stages: back up your files and database, upload everything to the new host, then update your DNS records to point to the new server. Most managed WordPress hosts offer a free migration service that handles stages 1 and 2 for you automatically.
How do I migrate a WordPress site to a new server?
You can migrate a WordPress site using a plugin like Duplicator (recommended for most users) or manually via FTP and phpMyAdmin. The plugin method takes roughly 30 to 60 minutes for a typical site. Manual migration takes longer but works better for very large sites that exceed plugin upload limits.
How do I migrate a website without losing SEO?
Keep all existing URLs intact, set up 301 redirects for any changed paths, and resubmit your sitemap to Google Search Console after the migration. Page speed on the new host matters too. A host with built-in caching and a CDN helps maintain or improve rankings after the move.
How do I manually move a WordPress site?
Manual migration has 6 steps: export the database via phpMyAdmin, download all site files via FTP, create a new database on the new host, edit wp-config.php with the new database credentials, upload all files, and import the database. Once those are done, update your DNS A record to the new host’s IP address.
Ready to Move to a Faster WordPress Host?
If the real reason you’re migrating is performance, WebVibo’s managed WordPress hosting includes free site migration handled by specialists, with LiteSpeed Cache and a global CDN active from day one. Take a look at the current plans and pricing to find the right fit for your site.