Web Design

How to Move My WordPress Site to a New Host Without Breaking Email or Rankings

How to move my WordPress site to a new host without losing email or Google rankings: the steps hosts skip. Planning a rebuild? Tell us about your site.

How to Move My WordPress Site to a New Host Without Breaking Email or Rankings

Searching for how to move my WordPress site to a new host? The short answer: copy the files and the database, and set them up on the new host. Test the site there before anyone sees it, and only then point your domain at it. The files are the easy part. What a move really puts at risk is your email and your Google rankings.

We design and build WordPress websites ourselves, as one team based in Leicestershire, and we judge a website on the enquiries it brings in. If your move is really about a slow or tired site, tell us about your project.

This guide covers the checklist to run before you start, three ways to move WordPress, how to switch DNS without losing email, and how to protect your rankings.

How to Move Your WordPress Site to a New Host: The Short Answer

Someone on Reddit asked how to move WordPress between hosting companies, and the top answer was "use whatever method works for you". That's true for the files. It isn't true for the order you do things in.

StepWhat you doWhat goes wrong if you skip it
Back upCopy the files and the databaseNothing to fall back on
List DNS recordsNote every record, including MXEmail stops arriving
Lower the TTLShorten DNS caching a day or two aheadThe switch drags on for longer
Set up the new hostUpload files, import the databaseThe site won't load
Test before the switchCheck pages, forms and logins on the new hostCustomers find the problems first
Point the domainChange the A record or nameserversVisitors still reach the old host
Watch for a weekSearch Console, forms, emailSmall faults go unnoticed

A move goes more smoothly when the site is lean. Our WordPress development builds sites with fewer plugins and no page builder, so there's less to carry across and less to break on a new server.

Before You Move: The Checklist

Most moves that go wrong were lost before the first file was copied.

Take a Full Backup

You need both the files and the database. Backing up one doesn't back up the other. Our guide to back up your WordPress site explains what to include and how to check the backup works.

Check the New Host Can Run Your Site

Compare the PHP version and the MySQL or MariaDB version on both hosts. A site built for an older PHP version can show errors on a newer one, so find out before you move, not after.

Write Down Every DNS Record

Log in to wherever your DNS is managed and record everything: the A record, any CNAME records, the MX records and the TXT records used for SPF and DKIM. Those last ones decide whether your emails arrive or land in spam.

Lower the TTL a Day or Two Ahead

TTL (time to live) is how long internet providers cache your DNS settings. Google's own guide to changing hosts suggests lowering it to a short value, such as a few hours, before a move so the new settings spread faster.

Three Ways to Move WordPress

Your New Host's Free Migration

Many hosts offer to move your site for you. It's often fine for the files and database. Ask exactly what it covers, because email, DNS records and redirects usually aren't included.

A Migration Plugin

A migration plugin packages the site on the old host and unpacks it on the new one. It suits most small and medium business sites. Very large sites or busy online shops can hit upload or time limits, so test the result carefully.

Moving It by Hand

To move it manually, download the files over SFTP and export the database in phpMyAdmin. On the new host, create a database, import the export, upload the files and update `wp-config.php` with the new database details. If the domain and URLs stay the same, WordPress's own guide says that's usually all a move to a new server needs.

Test on the New Host Before You Switch the Domain

Your domain should still point at the old host while you test. Use the new host's temporary URL, or edit your computer's hosts file so only you see the new copy.

What to Check

  • Every main page and menu.
  • Images and downloads.
  • Logins for every staff account.
  • Your SSL certificate.
  • The checkout, if you sell online.

Send a Real Test Enquiry

Fill in every form and make sure the email arrives. A site that looks perfect but drops enquiries is the most expensive kind of broken.

Switching DNS Without Breaking Your Email

This is the part the hosts' own guides skip, and it's where most business moves go wrong.

Why Email Is at Risk

Your website and your email are separate services that share a domain. When someone emails you, their server looks up your domain's MX records to find where to deliver it. If those records disappear, the email has nowhere to go.

A Record or Nameservers?

If you only change the A record, your other records stay where they are and email carries on as before. If you move your nameservers to the new host, its DNS starts with only what you add to it. Recreate every record from your list, MX, SPF and DKIM included, before you make the switch.

If Your Old Host Also Ran Your Email

Then your mailboxes live there too. Move them, or set up email elsewhere, before you cancel anything.

How Long the Switch Takes

Most UK hosts say DNS changes can take up to 48 hours to spread fully. Keep the site running on the old host during that time, so whichever server a visitor reaches, they get a working site.

Protecting Your Google Rankings

Same Domain, Same URLs

If nothing changes except the server, Google treats it as a hosting change. Google says it's normal to see a short drop in how often it crawls your site straight after the move, followed by a steady rise over the next few days.

If the Domain Changes Too

This is a bigger job. Never run a plain find-and-replace on the database to change the old address. WordPress warns that some themes and widgets store data with the length of the URL, and a raw replace breaks it, so use WP-CLI's search-replace or a search-replace plugin instead. Leave the GUID column in the posts table alone.

Then set up 301 redirects from every old URL straight to its new one. Google says permanent redirects don't cause a loss in PageRank. Submit a Change of Address in Search Console and keep the redirects for at least 180 days. Keep paying for the old domain for at least a year, too, so nobody else can buy it.

If rankings have already dropped after a move, our SEO team can help find out why.

After the Move: The First Week

Check Search Console for new 404 errors and crawl problems. Test your forms again, look at any scheduled emails and clear the cache.

Only cancel the old hosting once DNS has settled, email is arriving and you've downloaded a final backup from the old server.

Moving Host? It's a Good Time to Fix the Site Too

If you're moving because the site is slow or hard to manage, the host is rarely the whole problem. Heavy plugins and page builders travel with you.

Our WordPress web design and development rebuilds sites properly. We take a tested backup first and build the new site on its new host. Before the switch we copy and check your email records, and we keep every URL or 301 it to its new page. Websites run from £2,000 to £15,000 + VAT, with a fixed price agreed in writing before we start.

Tell Us Why You're Moving

Whether the site is slow, hard to update or simply on the wrong host, we'll tell you whether it needs a move or a rebuild. Have your WordPress site rebuilt properly, or tell us about your site.

Share this article

Questions

Start a project
Can I Move My WordPress Site to Another Host Myself?

Yes. A migration plugin or a manual move suits most business sites. The risks are email and DNS, so list every record before you start.

Will Moving Host Affect My Google Rankings?

Not if the domain and URLs stay the same and the site works on day one. A short dip in crawling is normal. Changing the domain needs 301 redirects and a Change of Address in Search Console.

Should I Move My Domain and My Hosting at the Same Time?

It's safer not to. Change one thing at a time, so if something breaks you know which change caused it.

When Can I Cancel My Old Hosting?

Once DNS has settled, your email is arriving at the right place and you've kept a final backup of the old site.

How Long Does It Take to Move a WordPress Site?

Copying the site is usually the quick part. Waiting for DNS changes to spread can take up to 48 hours, so plan the switch for a quiet day.

Start a project

Want us to do this for you?

Tell us what you need and we'll come back with a plan and a fixed price agreed in writing before we start.

Ready to talk about your project?

Web design, SEO, PPC, Facebook ads and bespoke software from one UK team.