Moving a WordPress website to a new host is one of those jobs that sounds simple until you are in the middle of it. The site has files, a database, images, settings, and email records, and all of them need to arrive at the new host in the right place. Done carelessly, a move can mean hours of downtime, missing images, or a broken site. Done properly, with a checklist and a test before you switch over, your visitors may never notice anything happened.
Step 1: Back up everything before you start
Before you touch anything, make a complete backup of your current site: all the files and the full database. Use a backup plugin or your hosting control panel, and download the backup to your own computer as well as keeping a copy on the server. A backup stored only on the host you are leaving is not a real safety net, because you may lose access to it.
Check that the backup is complete. A backup plugin will usually tell you the file size and what it contains. Compare the number of files with what you expect, and make sure the database backup is not empty. A backup you have never tested is only a hope, so if you have time, practise restoring it on a test install before the real move. That one rehearsal removes most of the fear from the job.
Step 2: Copy the files and the database
There are two reliable ways to copy a WordPress site. The first is a migration plugin, which packages the whole site into one file, and then unpacks it on the new host. This is the easiest method for most small business sites. Install the migration plugin on the old site, create the package, download it, then install the same plugin on a fresh WordPress install on the new host and upload the package. The plugin handles the file copy and the database changes, including updating the site address.
The second method is manual: download all the files by FTP, export the database from the old host, create the database on the new host, import the data, and update the wp-config.php file with the new database details. Then search and replace the old address with the new one in the database, using a proper search-and-replace tool that handles serialised data. The manual method gives you full control, but it has more steps where a mistake can break the site. If you are not comfortable with databases, use a migration plugin.
Whichever method you use, copy everything. That includes the wp-content folder with your themes, plugins, and uploads, and the wp-config.php file. After the copy, check that the file sizes on the new host match the old host. A missing images folder or an incomplete upload is one of the most common causes of a broken site after a move.
Step 3: Test the site thoroughly before going live
Testing is the step that separates a smooth move from a stressful one. Before you change any DNS records, open the site on the new host using the temporary address or hosts file entry, and check it page by page. Start with the homepage, then the main service pages, the contact page, and a few blog posts. Check that images load, forms work, and links point to the right places.
Log in to the WordPress admin on the new host and check the dashboard for errors. Test the contact form by sending yourself a message. Check the menus, the footer, and any online shop pages if you have them. If the site uses a caching plugin, clear the cache and check again. Look at the site on your phone as well, because mobile problems are easy to miss on a desktop screen.
Fix anything that is broken now, while the old site is still live for your visitors. Common problems after a move include missing images, links that still point to the old address, and plugins that need to be reactivated. Our guide on how to speed up a slow WordPress website is worth reading at this stage too, because a new host is a good moment to check performance.
Step 4: Point the domain at the new host and watch it
When the test site looks right, it is time to point your domain at the new host. This usually means updating the nameservers at your domain registrar, or changing the A record to the new host's IP address. Your new host will tell you which records to change. Make the change, then wait. DNS changes can take a few hours to spread around the world, and during that time some visitors will see the old site and some will see the new one.
While the change spreads, do not make content changes on either site, because edits made on the old site after the move will not appear on the new one. Wait until the DNS change has fully spread, which you can check with an online DNS checker, and then confirm that the live site is the one on the new host. Send yourself a test message through the contact form to confirm email still works.
Keep the old hosting account for at least a week after the move. Check the new site daily during that week for errors, missing images, or emails that are not arriving. If something is wrong, you still have the old site and its backup to fall back on. Only cancel the old hosting once the new site has run smoothly for several days. If you would rather have a professional handle the move, our WordPress services include safe site migration, and our guide to keeping your business website secure covers the backup habits that protect you after the move.
Frequently asked questions
How long does it take to move a WordPress website to a new host?
For a small business site, the copying and testing usually takes a few hours. The DNS change then takes a few more hours to spread. Allow a full day for the whole job, and avoid starting it on a Friday evening or just before a busy period.
Will my website be offline during the move?
It does not have to be. If you copy the site, test it on the new host, and only then change the DNS records, visitors keep seeing the old site until the switch happens. A short overlap is normal while the DNS change spreads, and most visitors will not notice anything.
Do I need a migration plugin to move WordPress?
No, but it makes the job much easier. A migration plugin packages the files and database together and handles the address changes. The manual method works too, but it needs care with the database, so a plugin is the safer choice for most site owners.
What should I do with the old hosting account after the move?
Keep it for at least a week after the new site is live, and keep a downloaded backup as well. Once the new site has run smoothly for several days with no errors and working email, you can cancel the old account.
If you would like your WordPress website moved to a new host safely, without downtime or lost content, contact Shehryar Noor — a web designer and developer since 2018 who has built more than 80 websites and can handle the whole move for you.