Learning how to move a WordPress site to a new host sounds drastic, but a WordPress site is just files plus a database, and both travel well. Whether your current host is slow, expensive or unreliable, a careful move takes an hour or two — and your visitors need never notice a thing.
The secret is overlap: build and test the site on the new host while the old one keeps serving visitors, then switch the domain over only when the new copy is proven. This guide walks through the whole process in order, first with a migration plugin, then the manual way, and finishes with the DNS switch and the checks that catch silent failures.
Before You Move: Prepare Both Sides
Sign up for the new hosting first and keep the old account active until the move is fully verified. Rushing to cancel the old host is the classic beginner mistake — you want overlap, not a deadline breathing down your neck. Most hosts give you a temporary URL or a preview address for the new account, which is exactly what you need for testing.
At the old site, freeze changes during the move window. Ask anyone who edits the site to hold off, and do not publish posts or process orders you cannot afford to lose track of. Take a complete fresh backup of files and database, and download a copy to your computer. If anything goes wrong at any stage, that backup is your guaranteed way back.
Note your current DNS settings before you change anything: the nameservers or DNS records at your registrar, and your email settings if your mail runs through the same host. Email is the part people forget, and a host move that breaks email is a miserable surprise to discover on Monday morning. If you are still comparing hosts, our guide on web hosting vs WordPress hosting explains what each type of plan actually includes.

Method 1: Move WordPress With a Migration Plugin
For most sites, a migration plugin is the easiest reliable route. Install it on the old site, create a full migration package, and let it copy files and database together, rewriting your domain details automatically if they change. You do not need to touch phpMyAdmin or edit config files by hand.
Plugin moves work well for small and medium sites. Very large sites — big media libraries, years of uploads — can hit file-size or time limits on budget hosting, in which case the manual method below, or the new host’s free migration service, is the better call. Many hosts will move your site for free if you ask, so check that before paying for a premium migration plugin. Knowing how much website migration costs helps you judge whether a paid tool or a host’s free service is the better deal for your site.
- Install a reputable migration plugin on the old site and create a full migration package.
- Download the package to your computer, or connect the plugin directly to the new site if it supports that.
- Install WordPress and the same migration plugin on the new host.
- Import the package on the new host and wait for the import to finish.
- Open the site on the new host’s temporary URL and log in to the dashboard.
- Test pages, images, menus, forms and search before you touch DNS.
Test while the public still sees the old site — that is the whole secret of a calm migration. Click through the homepage, your top posts, and any page that earns money. If you run a store, place a test order on the temporary URL. Fix anything that looks wrong now, while the old site is still live and nobody is affected.
Method 2: The Manual Move — Files and Database
A manual move teaches you the anatomy of your site, and it works on any host with no size limits beyond your patience and your internet connection. You download the files, export the database, upload both to the new host, and point WordPress at the new database. It sounds technical, but each step is simple on its own.
- Download all WordPress files from the old host — the wp-content folder and the root files — using FTP or the host’s file manager.
- Export the database from phpMyAdmin on the old host, usually as a single .sql file.
- Upload the files to the new host and create a fresh, empty database there.
- Import the .sql file into the new database through phpMyAdmin.
- Update wp-config.php with the new database name, username and password.
- Open the site on the temporary URL and confirm it loads and you can log in.
If your domain stays the same, little else changes. If the domain changes too, the URLs stored inside the database must be updated with a proper search-and-replace tool that handles serialized data safely. Never edit the .sql file with a plain text find-and-replace — WordPress stores some settings as serialized strings with character counts, and a careless edit corrupts them. Use a dedicated search-and-replace plugin or script instead.

Change DNS and Wait for Propagation
When the new site passes your tests, point your domain at the new host by updating its nameservers or DNS records at your registrar. Which one you change depends on how your domain is set up: if your domain uses the old host’s nameservers, you switch them to the new host’s; if it uses the registrar’s DNS, you update the A record to the new server’s IP address. Your new host’s welcome email lists the exact values to use.
This change spreads across the internet over a few hours, a process called propagation. During that window, some visitors see the old site and some see the new one, which is why the old account stays alive. Avoid publishing posts or processing important changes until DNS settles, and for stores, consider a brief maintenance notice at the busiest step.
You can watch propagation with any free DNS checker: enter your domain, and it shows which server different locations around the world are resolving to. When every location points to the new host, the switch is done. If your site worked on the temporary URL but breaks after the DNS change, check SSL first — the certificate on the new host may need a few minutes to issue for your domain.
SSL and Email Deserve Their Own Check
Confirm the site loads over https without warnings on the new host, and click through a few pages to be sure no images or scripts still load over plain http. Mixed-content warnings are the most common cosmetic problem after a move, and they are usually fixed by updating the site address in Settings > General or by a search-and-replace of the old http URLs.
Then check email. Send a test message from your contact form and confirm it arrives. If your email runs through your host, confirm the mail records moved with the DNS change — this is the step that catches people out. A broken contact form after a move is easy to spot; broken email is silent for days.
Final Checks After the Move
Browse the new site thoroughly while logged out: homepage, posts, images, menus, search and contact forms. Submit a test form, and if you run a store, place a complete test order, because checkout problems are the costliest silent failures after a move. Check that scheduled posts publish on time and that any cron tasks — backups, email digests, stock syncs — still run.
Set up fresh backups at the new host straight away, before you need them. A new host means a new backup schedule to configure, and the week after a move is exactly when you want one. If anything about the new setup feels slow or unreliable, check the basics: our guide to the best WordPress hosting for a WooCommerce store covers what good hosting should deliver for shops, and SiteGround vs Cloudways for WordPress compares two popular hosts on performance and tools.
Only when a week of normal operation has passed should you cancel the old hosting. A week gives DNS time to settle everywhere, gives you time to spot anything you missed, and leaves the old site as a fallback if something surfaces late. Cancelling on day one to save a few pounds is a false economy.

Common Migration Mistakes to Avoid
The biggest mistake is cancelling the old host too early. Keep it for at least a week after the switch, and longer if the site takes orders. The second is moving during a busy period — a sale, a launch, a traffic spike — when every minute of confusion costs money. Pick a quiet hour on a quiet day.
The third is skipping the test phase. A site that loads on the temporary URL can still fail after DNS changes, usually on SSL or on hardcoded URLs pointing at the old address. Test again after the switch, logged out, on a phone. The fourth is forgetting email, backups and scheduled tasks, which all live partly outside WordPress and do not travel in the migration package by themselves.
If you hit an error during the import, do not keep retrying the same step. Note the exact error message, check the new host’s file and database size limits, and ask the new host’s support team — they handle migrations every day and can often see the cause in seconds. If the move surfaced a security warning, our guide on how to fix an SSL certificate error on WordPress covers the most common certificate problems.
Frequently Asked Questions
Will moving hosts hurt my SEO?
Not if the domain stays the same and the site structure is unchanged. A host move is invisible to search engines apart from speed changes. If you also change domains, you need proper redirects, which is a different and more delicate project.
How long does a WordPress migration take?
The copying itself often takes under an hour for a typical site. DNS propagation adds a few hours where both hosts serve visitors. Plan a half day end to end and there is no need to rush any step.
Can I move my site without any downtime?
Yes, with the overlap method: build and test on the new host while the old site stays live, then switch DNS. Visitors experience no downtime, just a gradual handover between servers.
Do I need to reinstall WordPress at the new host?
With a migration plugin, you install a fresh empty WordPress only as the landing spot for the import. With a manual move, you transfer your existing files and database, so no separate installation is needed.
What if my site is too large for a migration plugin?
Split the job: move the database and the core files with the plugin, then move the uploads folder separately by FTP. Or ask the new host — most offer a free migration service for large sites and will handle the whole transfer for you.
Moving a WordPress site to a new host is a calm, orderly job when you do it in the right order: prepare both sides, move with a plugin or by hand, test on the temporary URL, switch DNS, and check everything again. Keep the old host alive for a week, keep a backup of everything, and test the site the way a stranger would — logged out, on a phone, clicking the links your visitors actually use.

