Best for · Web hosting

How to transfer a WordPress site to another host without losing it

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • There are three ways to move a WordPress site, and the easiest is the one where somebody else does it.

Compared here

  • 01Host-run free migration
  • 02Migration plugin
  • 03Manual copy of files and database

Short answer

There are three ways to move a WordPress site, and the easiest is the one where somebody else does it. Hostinger's page says it offers "free unlimited website migration with no downtime", and SiteGround's says "your first migration is free and your site stays live the whole time". If you want to do it yourself, a migration plugin such as Duplicator or All-in-One WP Migration packs files and database into one file you restore on the new host. The manual route, described in WordPress's own developer handbook, is copy the files, export and import the database, fix wp-config.php.

Whatever you pick, do the same four things: back up first, keep the old host running until the new site is checked, test before you point the domain, and change DNS last. Never cancel the old plan the same day.

Money talk: Hostinger runs an affiliate program and the link below can earn us a commission. The advice does not change with it, and the free-migration offers we quote are the vendors' own words.

See Hostinger WordPress hosting

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From Hostinger's web hosting page, SiteGround's home page, the WordPress.org plugin pages for Duplicator and All-in-One WP Migration, and the WordPress developer handbook, read 4 December 2026.
MethodCost on the official pageSkill neededDowntime riskBest for
Host-run migrationHostinger: free, unlimited. SiteGround: first migration freeNoneVendors say the site stays liveAnyone moving to a host that offers it
Duplicator pluginFree Lite plugin on WordPress.org; Pro is paidLow to mediumLow if you test firstMoving to any host, even an empty site
All-in-One WP MigrationFree plugin; the paid extension lifts upload size limitsLowLow if you test firstSmall and mid sites
Manual copyFreeMedium to highYou control itDevelopers, odd setups

Pick your method first

Moving a WordPress site sounds scary, and it is not. A WordPress site is two things: a folder of files (themes, plugins, uploads) and a database (posts, pages, settings). Move both, point the domain, done.

We did not migrate a site for this page. We read the WordPress developer handbook, the two plugin pages and the hosts' own pages on 4 December 2026, and we quote them. Read the lines marked as vendor claims as that: claims.

Here is the decision in one table.

If you...Use
Are buying hosting anyway and the new host offers free migrationLet the host do it
Want to do it yourself with a few clicksA migration plugin
Know FTP and phpMyAdmin, or have a weird setupThe manual method

Before any method: the checklist

  1. Back up everything, twice. Files and database. Store one copy off the old server. The WordPress handbook's first line for moving servers is to back up your WordPress directory, images, plugins and other files, and the database.
  2. Write down what you have. WordPress version, PHP version, plugin list, any caching or security plugins, cron jobs, email set up on the old host.
  3. Do not change anything else. Same domain, same URLs, same HTTPS. One change at a time.
  4. Pick a quiet day. A shop on a Friday evening is a bad time.
  5. Do not cancel the old host. Not until the new one has run for a week.
  6. Lower your DNS TTL a day before, if your DNS provider lets you. It makes the switch faster. This is general practice, not something the sources above say.

Method 1: let the new host do it

This is what we would tell a friend. You are paying for hosting anyway. Ask them to move the site.

  • Hostinger. Its web hosting page says "Unlimited free migrations, dedicated support throughout the transfer, and zero downtime - your site stays live the entire time." The FAQ adds "free unlimited website migration with no downtime" and says to buy a plan before moving. Its WordPress page says migrations are "Fast, free, unlimited" and that "85% migrations completed in under 5 minutes", with expert support if needed. Those are Hostinger's numbers, not ours.
  • SiteGround. Its home page says "Free migration with every plan" for WordPress hosting, and a menu entry reads "Our experts move your WordPress site for you. Your first migration is free and your site stays live the whole time."

Questions to ask any host before you pay:

  • Is the migration really free, or only the first one?
  • Do you move email, cron jobs and custom server settings, or only the WordPress site?
  • Will the site stay live during the move? How is it tested before DNS changes?
  • What do you do if something breaks, and for how long can I ask?

Hostinger and SiteGround have affiliate programs, and Hostinger's link is marked above. We would still tell you to compare with our cheap web hosting list and fastest WordPress hosts before you buy, because renewal prices matter more than the first year.

Method 2: a migration plugin

Two free plugins dominate the plugin directory. Both package the site into one file.

Duplicator. The WordPress.org page says it provides "a simple way to move WordPress sites, create reliable backups, or clone a site for staging", and that you can migrate "between domains or hosts with no downtime". It packages files and database into a single file called a backup, which you restore at the new location. The page says the free plugin includes backups of any size, encrypted archives, one-click restore and cloud storage, and that it "works on an empty site", meaning you do not install WordPress at the destination first. It shows 1+ million active installations. Duplicator Pro adds scheduled backups, staging and multisite.

All-in-One WP Migration. Its page says the plugin migrates "database, media, themes, and plugins", and lists 5+ million active installations. It spells out the catch: "The free plugin backs up and exports sites of any size." To restore for free, you download your backup and import it on the Import screen. Your host decides how large a file you can upload, so a very large backup may not go through. The paid Unlimited Extension adds one-click restore and gets around the host's upload limits.

How it goes in practice:

  1. Install the plugin on the old site and create the package or export.
  2. Download the file (and the installer, for Duplicator).
  3. Set up the new host with an empty database or fresh WordPress, depending on the plugin.
  4. Import or restore.
  5. Test using a temporary URL or your hosts file, not your public domain.
  6. Change DNS.

Where it goes wrong: big uploads folders, host upload limits, memory limits, and security plugins that block restore. If a plugin fails halfway, do not start clicking everything again. Read the error, free some limits or ask the host.

Method 3: do it by hand

The WordPress developer handbook describes the steps. If your domain and URLs do not change, the handbook says the move "is very simple, and in most cases can be done by moving the files". In short:

  1. Download your WordPress files by FTP or SFTP.
  2. Export the database (phpMyAdmin or similar).
  3. Create a new database and user on the new host.
  4. Upload files, and edit wp-config.php with the new database name, user and password if they changed.
  5. Import the database.
  6. If you want to test before switching, the handbook says to temporarily change "siteurl" and "home" in the wp_options table.
  7. If you had permalinks set up, the handbook says to disable .htaccess and reconfigure permalinks when the site goes live.

If the domain or URLs change, it is a longer list: change the URLs in Settings, then download files again, export the database again, edit wp-config.php, upload and import. The handbook adds that references to the old domain stay in the database and can break links or themes, so you need a search and replace across the database, and a backup before you try it. If you are changing domain as well, do it as a separate step after the host move.

One more handbook tip worth remembering: if you ever lock yourself out after changing the site URL, you can hard-code WP_HOME and WP_SITEURL in wp-config.php. It warns this is "not necessarily the best fix", and you can no longer edit those two fields in the admin screen.

After the move

  • Open the home page, a post, a category page and the contact page on the new host.
  • Submit a form. Log in. Test checkout if you sell something.
  • Check images and media. Missing uploads are the most common surprise.
  • Re-check permalinks (Settings, Permalinks, Save).
  • Make sure HTTPS is on and no mixed content warnings appear.
  • Confirm backups are running on the new host.
  • Look at your email. If email was tied to the old host, set it up again or you will lose messages.
  • Watch Google Search Console for crawl errors over the next week.

What can go wrong

  • The host's upload limit rejects your backup file. Ask support to raise it, or use the host-run migration.
  • Different PHP version. An old plugin may break on a newer PHP. Test on a copy.
  • Hard-coded URLs in theme settings or page builders pointing at the old domain.
  • Email loss. Domain email on the old host stops when DNS points elsewhere.
  • Forgetting the old bill. Double hosting for a month is cheap. Losing a site is not.

For a bigger picture on what managed WordPress hosting does for you, read the benefits of managed WordPress hosting. If your domain also needs to move registrars, that is a separate job: see cheapest domain transfer.

Our call

  • Let the host do it when it is free and you do not like terminals.
  • Use a plugin when you want control and the site is small or medium.
  • Go manual only if you know why you need to.
  • Never move and redesign on the same day.

The pricing and migration terms above are what the vendors showed on 4 December 2026. They change, so read the current page before you buy.

Questions people ask

How do I transfer a WordPress site to another host?

Back up the site, then use one of three routes: ask the new host to migrate it, use a migration plugin to package files and database and restore them at the new host, or copy files and the database by hand and edit wp-config.php. Test on the new host before changing DNS, and keep the old plan until you have checked everything.

Can I move WordPress to a new host for free?

Often, yes. Hostinger's page says it offers free unlimited website migration with no downtime. SiteGround's home page says migration is free with every plan and the first migration is free. Duplicator and All-in-One WP Migration have free versions on WordPress.org. Check each host's current terms at purchase, and ask what counts as a free migration.

Will I lose my SEO if I change hosts?

Not if the URLs stay the same. The WordPress handbook notes that if the home and site URLs do not change, you can move by copying files and the database. Problems come from changing domain, URLs or HTTPS at the same time as the host. Move first, change nothing else, then check for broken pages and redirects.

How long does a WordPress migration take?

Hostinger's WordPress page says 85% of its migrations complete in under 5 minutes, which is its own figure for hosted migrations. A DIY move depends on site size, your upload limits and how fast DNS updates. Plan an afternoon for a small site and a weekend for a large store, and avoid your busiest hours.

Do I need to change DNS when I move hosts?

Yes, if the new host gives you new name servers or an IP address, your domain has to point at it. Do this last, after testing the copy. If you also keep the domain at a registrar, you can leave the registration where it is and only change name servers or records.

What do I do with the old hosting after the move?

Keep it for a week or two. Check forms, email, checkout, images and logins on the new host. Make a final backup of the old site before you cancel. WordPress's handbook also warns to keep a backup of the old database when you change URLs or do search and replace.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. WordPress developer handbook: Moving WordPress, checked 4 Dec 2026
  2. Hostinger web hosting (migration FAQ), checked 4 Dec 2026
  3. Hostinger WordPress hosting (migration section), checked 4 Dec 2026
  4. SiteGround home page (free WordPress migration), checked 4 Dec 2026
  5. Duplicator on WordPress.org, checked 4 Dec 2026
  6. All-in-One WP Migration on WordPress.org, checked 4 Dec 2026