How to Migrate Your WordPress Site to a New Host (Any Host, Step by Step)

Last updated: November 22, 2026 · Steps checked against WordPress.org, SiteGround, Kinsta, and WPX official documentation (sources at the bottom)

We may earn a commission if you buy through links here — it never changes our picks.

Moving a WordPress site to a new host is a copying job, not a rebuilding job. Your site is files plus a database, and a migration copies both to the new host while the old host keeps serving your visitors. You test the copy in private, point your domain, verify everything, and only then cancel the old plan. Done in that order, the move has no dramatic moment.

This is the general guide, for a move between any two hosts, shared hosting included. If your destination is managed WordPress hosting specifically, our companion guide to migrating WordPress to managed hosting follows the Kinsta and WP Engine routes in their own dashboards.

The short version

  • Back up first, and download the backup. Files and database, on your own computer. It is your undo button.
  • Copy, do not rebuild. WordPress.org is explicit: moving to a new server does not need a reinstall.
  • Pick the easiest route that fits. The new host's team, a migration plugin, or the manual move, in that order.
  • Test the copy before you point the domain. Problems are free to fix while the copy is private.
  • Cancel the old host last, after a few quiet days on the new host.

What you are actually moving: files plus a database

A WordPress site is two things, and every route here copies the same two things.

The files are the WordPress software, your theme, your plugins, and everything you have uploaded. Uploads live in a folder called wp-content. One file matters more than the rest: wp-config.php, the settings file that tells WordPress which database to use. When a move breaks a site, the cause is very often this file still pointing at the old database.

The database is a structured store holding your posts and pages, comments, user accounts, and the settings your theme and plugins save. Hosts usually give you phpMyAdmin, a web page for viewing it. Exporting means downloading the database as one file, usually ending in .sql. Importing means loading that file into the new host's database.

Two facts from WordPress.org shape everything below. If your domain stays the same, and for most host moves it does, the move is just copying the files and the database. You edit wp-config.php only when the database name, user, or password differs on the new host, which it almost always does. Changing your domain at the same time is a bigger job, because the old address is written inside the database in many places. This guide assumes you keep yours.

Before you move: four preparations

Before you start

Do these four things first

  • Make a complete backup at the OLD host, and download it. Files and database together, on your own computer, not only on the server you are leaving. Our WordPress backup walkthrough covers what a complete copy includes.
  • Freeze changes on the site. Anything added after the copy is taken, a post, an order, a sign-up, will not exist on the new host. Pick a quiet window, and consider maintenance mode if your site takes orders.
  • Gather four logins. Old hosting account, new hosting account, WordPress admin, and the account where your domain's DNS is managed. DNS, short for Domain Name System, is the internet's address book, and the final step edits it.
  • Know where your email lives. If your domain receives email, write down which company runs the mailboxes. The classic migration disaster is pointing the website correctly while breaking the mailbox.

Choose your route: team, plugin, or manual

All three routes produce the same result, a working copy on the new host. They differ in who does the carrying and in what can go wrong.

RouteWho does the workBest forWatch out for
The new host's team The host's migration staff, after you send a request and access details Anyone whose new host offers it Waiting time varies, and you hand over logins, so use the host's own secure form
A migration plugin You start it, the plugin packages and copies the site A standard single site, moving to a host with a migrator plugin Full multisite networks are usually out of scope, and a very large site can strain a plugin
The manual move You, copying files and database by hand Unusual setups, or a host with no migration help Most steps to get wrong, especially the wp-config.php settings

Work down the list: team first, plugin second, manual for the cases the first two cannot handle.

Route 1: Let the new host's team do it

Many hosts will move your site for you. You create the account, submit a migration request through its dashboard or support system, and provide access to the old site through the secure form the host gives you. The team copies the site and tells you when it is ready. The old site keeps running throughout, and you test the copy before anything points at it.

Kinsta's team works from requests inside its MyKinsta dashboard, and SiteGround offers a professional transfer alongside its free plugin in Route 2. WP Engine's route is a plugin, covered with Kinsta's in our managed hosting migration guide.

A team migration, done for you WPX

WPX

WPX is fully managed WordPress hosting, and its team migrates your sites to WPX for free. You create the account, send a migration request from inside it with your existing hosting details, and WPX says its team will migrate your data and be back in touch within 24 hours so you can point your domain over; a site that needs malware cleaned during the move can take up to 72 hours. That done-for-you move is the centre of our WPX review, which also covers its support model, where the team fixes small problems for you rather than only advising you.

Visit WPX

Black Friday deal (checked November 22, 2026): WPX's own site is running its Black Friday sale, with 6 months free on yearly plans and up to 90% off the first month on monthly plans. Confirm the current terms on WPX's site before buying, since sale terms change.

Test the access you hand over before submitting. A wrong password at the old host is the most common reason a team migration stalls.

Route 2: Copy it with a migration plugin

A migration plugin packages your files and database on the old site and unpacks them on the new one, handling the fiddly parts, including the database connection settings, for you. Some plugins work between any two hosts. Others belong to one host and only move sites there. The host-owned kind is usually smoother, because the destination is already set up waiting.

1

Generate the migration token at the new host

In your SiteGround account, open Site Tools for the new site, go to WordPress, then Migrator, choose the domain and path the site should land on, and click Generate. The token is a one-time key telling the plugin where this site is going. Treat it like a password.

2

Install the plugin on your OLD site

On the site you are moving, go to Plugins, then Add New, search for SiteGround Migrator, install it, and activate it. The plugin is free, in the WordPress.org plugin directory. Your live site does not change.

3

Paste the token and start the transfer

Open the plugin's screen on the old site, paste the token from step 1, and start the migration. The plugin copies the files and the database to SiteGround over an encrypted connection. Leave the old site alone while it runs.

4

Preview the copy on its temporary address

When the transfer finishes, SiteGround gives the copy a temporary web address for testing, using the checklist in the next section. Do not point your domain until the copy passes.

Know the limits before you rely on this route. SiteGround's documentation says the Migrator is not the tool for a full multisite network, several sites sharing one installation, and it cannot move a site hosted on WordPress.com. When a plugin route fails, use Route 3, which has no such limits because you are the tool.

Route 3: The manual move, files and database by hand

The manual move is the route WordPress.org documents, and the fallback that works between any two hosts. Each step is simple, and you have the backup if anything needs a second attempt. Keep your domain the same throughout.

1

Export the database from the old host

Open phpMyAdmin at your old host, select your site's database, and use Export to download the whole database as a single .sql file, the words and settings of your site. Save it next to your backup, not instead of it.

2

Download the site's files

Using your old host's file manager or an FTP program, a tool for moving files between your computer and a server, download the folder your site lives in. You need everything in it, especially wp-content and wp-config.php.

3

Create an empty database at the new host

In the new host's control panel, create a database and a database user with full access to it, and write down three values exactly: the database name, the username, and the password. You will type them into wp-config.php in step 5, and one wrong character is the most common manual-move failure.

4

Upload the files and import the database

Upload the files into the folder the new host assigned to your domain. Then open phpMyAdmin at the new host, select the empty database, and use Import to load the .sql file from step 1. The settings file still names the old database, which is the next step.

5

Point wp-config.php at the new database

Open the wp-config.php you uploaded and find four settings near the top: DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST. Replace their values with the new database name, user, and password from step 3. DB_HOST is the database server's address. Many hosts use the word localhost, but use the value your new host's database page shows.

6

Open the copy, and fix the address settings if needed

Open the copy at the temporary address your new host provides. If it loads and you can sign in, the move itself is done. If it redirects to your live domain, the database still holds the live address where the preview needs its own. WordPress.org documents the fix: temporarily change the siteurl and home values in the wp_options table, through phpMyAdmin, to the testing address, and change them back before the domain step.

One warning belongs to this route, and it matters only if a web address changes in the move. The old address is stored inside the database in many places, and a plain find-and-replace can corrupt data, because some themes and plugins store values together with the length of the text. WordPress.org's safe way is a tool built for the job, such as the Better Search Replace plugin or WP-CLI, the command-line tool for WordPress. Never change the column called guid, which feed readers use to tell posts apart. If your domain is not changing, skip search-and-replace entirely.

Test the copy before anyone else sees it

Whichever route you took, your site now exists in two places, and the copy has a private address. The old site is still live, so every fault you find now is free.

  • Pages look right. Homepage and a few inner pages, with theme, layout, menus, images, and plugins all in place.
  • You can sign in to the WordPress admin, and your posts, pages, and media library are all there.
  • Forms work. Submit your contact form and confirm the message arrives. Forms are the most common silent casualty of a move.
  • Money paths work, if you have them. For a store or membership site, walk the checkout path as far as payment, the same advice WP Engine gives its customers before a launch.
  • Links stay on the copy. If clicking around sends you to the live site, the copy still uses the live address in its settings, which step 6 of the manual route covers.

Fix what you find, or re-run the copy if the fault is deep. Do not point the domain at a copy you have not tested.

Point the domain, then sort out the padlock

Pointing the domain is the switch itself: you edit your domain's DNS records so visitors are sent to the new host instead of the old one. Our guide to pointing a domain at your hosting covers the two methods, nameservers and individual records, in full. Use the exact records your new host shows in its dashboard, copied character for character, and expect the change to spread over minutes to hours.

The email warning, again, because it is the one real trap

If your domain receives email, do not delete records you do not recognise, especially MX records, which direct your mail, and TXT records, which help prove your mail is genuine. Changing nameservers moves where all your records are managed, so the email records must be recreated at the new location. Changing only the website's records, labelled A or CNAME, leaves email untouched.

The padlock comes after the pointing. Your site's SSL certificate, the security certificate behind the https in your address, is issued at the host your domain points to, so it cannot usually be set up at the new host until the domain arrives there. Once it does, turn on the free certificate in the new host's panel, then switch on the setting that forces https. Brief browser warnings while the change spreads are normal.

Verify on the real domain

When your real domain loads from the new host, run the same checks as on the private copy, plus these.

CheckWhat good looks likeIf it fails
Pages and images Pages load over https, padlock showing, images in place Warnings usually mean some addresses still say http. The force-https setting and a cache clear fix most
Permalinks Your page addresses work, not just the homepage Go to Settings, then Permalinks, and click Save without changing anything. Re-saving reconfigures permalinks, which WordPress.org calls for when a moved site goes live
Admin and editing You can sign in, edit a page, and upload an image An upload failure is usually a folder permission, which your new host's support can fix
Forms and email A test form message and a test email to your domain address both arrive Check the MX records survived the move, and that the form sends from an address at your domain
Redirects Old addresses and bookmarks land where they should Redirects on the old host do not move by themselves. Recreate the important ones at the new host
Store or memberships A test purchase or sign-up completes Check the payment provider's settings for an old-host address

When to cancel the old host

Not on the day of the move. The old plan is your rollback. Kinsta's rule is right for every host: only cancel your previous hosting once you have confirmed the site is loading correctly from the new host. In practice: the verification table passes, and a few ordinary days go by. Then cancel.

Common questions

Will my site go down during the move?

It should not, if you follow the order in this guide. The old host serves your visitors while you copy and test. The only switch is the DNS change, and during it some visitors reach the old host and some the new one, both showing the same site. The freeze keeps the two copies identical while they overlap.

How long does a migration take?

The copy is the fast part. A plugin transfer of a typical small site takes minutes to an hour. WPX, for example, says its team will be back in touch within 24 hours of a request. The slow part is the domain change spreading, minutes to hours in most cases. Budget an afternoon, most of it waiting.

What if I am changing my domain name at the same time?

Do the two changes separately if you can: move hosts first, let it settle, then change the domain as its own project. A domain change adds the database address replacement from the manual route, done with a proper search-and-replace tool and the guid column left alone, plus redirects from every old address to its new one.

Does my email move with the site?

No, and it does not need to. Email at your domain is a separate service your DNS records point to, and it can stay with its current provider while the website moves. It only breaks if the records that direct it are deleted or left behind in a nameserver change.

The bottom line

The whole move, as a checklist

  • Complete backup made at the old host and downloaded to your own computer.
  • Changes frozen, and the four logins gathered, including where DNS lives.
  • Site copied by the easiest route that fits: team, plugin, or manual.
  • Copy tested in private: pages, admin, plugins, forms, and any checkout.
  • Domain pointed with the new host's exact records, email records untouched.
  • SSL certificate on, https forced, and the verification table passed on the real domain.
  • Old host cancelled only after a few quiet days, backup kept.

That is the entire job. Two companions in the hosting guides: backing up your WordPress site before you start, and pointing your domain when the copy is ready.

Where these steps come from

Every procedure here was checked against the official sources below in November 2026. Hosts rename dashboard items occasionally, but the same step is usually on the same screen.