First, a question: what actually goes wrong when you migrate a WordPress site to Hostinger and the move fails?

Almost never the copy itself. Sites break because somebody deleted the old hosting too early, pointed the domain before checking the copy, or forgot the email records and lost a week of client messages. The copying is the easy part. The order is the skill.

Moving a WordPress site sounds risky, and done badly it is. Done in the right order, a migration is a non-event: your visitors never see a broken page, your Google rankings carry over, and the whole job takes an afternoon, most of it waiting.

This guide walks through migrating a WordPress site to Hostinger, using Hostinger’s free migration service where possible and a plugin method as the backup plan. The secret to zero downtime is simple: your old site stays live until the new one is proven, and only then does the domain switch. Nothing below deletes anything from your old host until the very last step.

Still deciding between the two hosts? My Hostinger vs SiteGround comparison breaks down the real three-year cost.

At a glance: back up first, copy the site to Hostinger and check the copy, then switch the DNS last. Cost: the migration itself is free with Hostinger, and the plugin method is free for most sites. Time: an afternoon, most of it waiting. Downtime: none, if you follow this order and keep the old host running for a week afterwards.

On this page:

What you need before you start

Ten minutes of gathering now saves an hour of hunting mid-migration. Have these ready:

Your current WordPress admin login. Hostinger’s migration form asks for it, and the plugin method needs it on both sites.

Your domain registrar login. The DNS change happens at the registrar (or wherever your DNS is managed), not inside WordPress. If you cannot log in there, stop and recover that account first.

A list of email accounts on the domain. Write down every mailbox and where it is hosted. Email DNS records are the thing migrations forget, and section 8 of this guide depends on this list.

Somewhere off-server for the backup. A Google Drive or Dropbox account connected to your backup plugin. A backup that lives on the same server you are leaving is not a backup, it is a passenger.

Your current PHP version, if your site is old. Note it from your current host’s dashboard. Old plugins that run on an old PHP version can sulk on a newer one, and knowing the starting point makes any surprise diagnosable.

Migrate a WordPress site to Hostinger in four steps: back up, copy, check, switch DNS


Before you touch anything: back up

Install the free UpdraftPlus plugin on your current site and run a full backup, files and database, saved somewhere off the server (Google Drive or Dropbox through UpdraftPlus’s settings). Migrations almost never go wrong. The one time you skip the backup will be the exception. Five minutes, non-negotiable.

The old host's dashboard before migrating a WordPress site

Also note down three things from your current setup: your domain registrar login (you will change DNS there, or at your old host), any email accounts hosted with the domain (email DNS records are the thing migrations forget), and your current PHP version if anything on your site is old and fussy.

One extra habit from doing this on client sites: download a copy of the backup to your own computer as well, if the file size allows it. Cloud copy plus local copy means the site can survive any single account problem on the day.

Method 1: Hostinger’s free migration (easiest)

If you already have a Hostinger plan, this is the path of least resistance. If you do not, the plans that include free migration start with Premium, the same plan I recommend in my Bluehost vs Hostinger comparison. My full Hostinger review covers which plan fits which kind of site, if you are choosing before you migrate.

  1. In hPanel, go to Websites, then Migrate Website (on some accounts it sits under Website, then Migrate)
  2. Enter your current site’s URL and your current WordPress admin login details
  3. Submit and wait. Hostinger’s team (or their automated system, depending on the source host) copies the site to a temporary address on your Hostinger account
  4. You get an email when it is ready. Check the migrated copy carefully using the preview/temporary URL they provide: homepage, a few posts or pages, images, contact form, and if it is a store, a test product and checkout view
Hostinger hPanel, where the free migration request starts

Read those four steps again and notice what is missing: at no point did you touch your live site, your domain, or your old hosting. That is deliberate. The request form is the whole job on your side; the copying happens between the two servers while your visitors keep using the old site as if nothing is happening.

The email in step 4 is the moment the real work starts, and the work is checking, not fixing. The next sections cover how to check properly. If the copy is wrong, you have lost nothing: your old site is untouched and you can ask Hostinger support to re-run the migration.

Only move to the DNS step when the copy is right. If anything is missing, your old site is untouched and you can ask Hostinger support to re-run it. That safety is the whole point of doing it this way.

Method 2: Plugin migration (full control)

Prefer to drive it yourself, or your source host blocks the automated route? Use a migration plugin. Migrate Guru and All-in-One WP Migration both handle this well. The pattern is the same for both:

  1. On the new Hostinger account, install a fresh, empty WordPress site on your domain (or a temporary subdomain)
  2. Install the same migration plugin on the new, empty site
  3. On the old site, generate the migration key or export file with the plugin
  4. On the new site, run the import with that key or file, and let it overwrite the empty install completely
  5. Log in to the new copy with your existing WordPress username and password, which came across with the site

Two of those steps deserve a slower look.

Step 1, the empty install, feels wrong and is right. You are installing WordPress just to overwrite it. The empty install gives the plugin a working destination: a database, a file structure, and an admin area to land in. Everything in it gets replaced by your real site in step 4.

Step 5 surprises people. After the import, the new copy does not use the password you just created for the empty install. It uses your old site’s logins, because the users table came across with everything else. If your old password does not work, you typed the new one. Try the old one.

Watch one gotcha: All-in-One WP Migration’s free version has an upload size limit. Large sites need the plugin’s paid extension or Method 1. Migrate Guru is free for most sites and moves the data server-to-server, which is faster.

Method 1 vs Method 2 at a glance

Method 1: Hostinger’s free migrationMethod 2: Plugin migration
EffortLow — submit a request and waitMedium — you run the export and import yourself
CostFree with a Hostinger planFree for most sites; large sites may need a paid extension
Best forMost sites, and anyone who wants the safest pathSites where the automated route is blocked, or when you want full control
Watch out forCheck the copy on the preview URL before touching DNSThe free plugin’s upload size limit on large sites

When in doubt, start with Method 1. It costs nothing extra, and your old site stays live while it runs, so there is nothing to lose by trying it first.

The step everyone rushes: checking before DNS

Your migrated copy lives on a temporary URL or preview address. Before the domain points at it, check like a pessimist:

  • Homepage, your three most visited pages, and your newest post
  • Images loading (missing images are the most common migration scar)
  • Contact forms: send yourself a test
  • Login, comments, search
  • For WooCommerce: product page, cart, and the checkout up to the payment step

Why this order? Because each item on that list fails in its own quiet way. Missing images do not produce an error page; the page just looks sad. A broken form does not announce itself; enquiries simply stop arriving. Login and search failures hide until a real visitor hits them. Checking is not paranoia, it is the only stage where a problem costs minutes instead of customers.

Find a problem now and it is a nuisance. Find it after the DNS switch and it is an emergency.

Preview the copy like a pro (copy-paste code)

One problem with checking a copy on a temporary URL: WordPress keeps trying to send you back to the real domain, because the site address inside WordPress still points there. Links bounce, the admin redirects, and checking turns into a fight.

The clean fix is two temporary lines in the copy’s wp-config.php file. On the Hostinger copy only (never on your live site), open wp-config.php from hPanel’s file manager, and add these lines just above the “That’s all, stop editing!” comment, using the temporary URL Hostinger gave you:

define( 'WP_HOME', 'https://your-temporary-url' );
define( 'WP_SITEURL', 'https://your-temporary-url' );

Now let’s break the code down line by line, so you know what you are pasting.

Line: WP_HOME

This tells WordPress the address visitors should see. With it set, the copy stops redirecting you to the live domain while you check it.

Line: WP_SITEURL

This tells WordPress where its own core files answer. Setting both lines together keeps the front of the site and the admin area on the temporary address, so login, links and images all stay on the copy.

The important part: these lines are temporary. They override the address stored in the database without changing it. After the DNS switch, when the real domain points at Hostinger, delete both lines and WordPress goes back to using its normal address, which is now correct. Leaving them in with the temporary URL after the switch is the one way this trick can bite, so treat removing them as part of the final checklist below.

Pro tip: while you check, click like a visitor, not like the owner. Open the copy in a private browser window, logged out. Owners see cached, logged-in versions of their sites; visitors, and problems, look different.

Pointing the domain (the actual switch)

When the copy is proven, point your domain at Hostinger. Two ways:

  • Nameservers: change them at your registrar to Hostinger’s. Simple, and Hostinger then manages all your DNS. Choose this if your email is with Google Workspace or Microsoft 365, but first copy any custom DNS records across, especially MX records, or your email breaks.
  • A record only: keep your DNS where it is and change just the A record to your Hostinger server IP (shown in hPanel under Hosting, then Plan Details). Choose this if your DNS setup is complicated and you want the smallest possible change.

Which should you pick? If your DNS is simple and your email is external, nameservers are the tidy option: everything ends up managed in one place. If your domain carries a complicated DNS setup, years of records you only half remember, the A record is the surgical option: one line changes, everything else is untouched. When genuinely unsure, the A record is the smaller risk.

Warning: email is the most common migration casualty. If your email lives with your old host, recreate the mailboxes at Hostinger before the switch, or keep the DNS records for your external provider intact when you move DNS. A missed MX record means silent lost email, and nobody notices until a client complains.

Pro tip: lower your DNS TTL to 300 seconds a day before the switch, and raise it back afterwards. Propagation then takes minutes instead of hours.

During propagation, some visitors see the old site and some see the new one. Both work, both take orders and enquiries, and that is why this method has no downtime. If your site has a busy shop or active comments, avoid posting changes during the few hours both versions are live.

After the switch: SSL and the final checklist

  1. In hPanel, go to Security, then SSL, and make sure the free Lifetime SSL is active for the domain, then enable Force HTTPS
  2. Visit the site and click through the main pages, watching for mixed-content warnings (a padlock issue usually means an old http:// image or script; the Really Simple SSL plugin tidies stragglers)
  3. Settings, then Permalinks in WordPress: just open the page and click Save to flush the rules
  4. Test the contact form again on the live domain, not the preview
  5. Check Google Search Console still verifies (DNS changes can drop a DNS-based verification; re-add it if needed)
  6. If you used the wp-config preview lines above, delete them now
  7. Leave the old hosting running for at least a week before cancelling. It is your rollback plan, and it costs nothing to keep briefly

Item 3 deserves half a sentence of explanation, because it looks like superstition and is not: re-saving Permalinks forces WordPress to rebuild its rewrite rules on the new server, and it quietly fixes the class of “homepage works, inner pages 404” problems that otherwise eat an evening.

How the afternoon actually goes

So you can plan the day, here is the honest timeline for a typical small site.

First 15 minutes: backup running, logins and email list gathered. Your only active work in the whole migration happens here and at the switch.

The next hour or so: the copy. Under an hour for most sites with either method, a few hours for large stores. You are waiting, not working. Check the copy as soon as it lands rather than leaving it for tomorrow, while the steps are fresh.

Checking: 20 to 30 minutes if you follow the pessimist checklist properly, longer for a store. This is the stage people skip and the stage that decides whether the migration is a story you tell or a problem you fix.

The switch: 5 minutes of clicking, then propagation. Minutes to a few hours with a lowered TTL, up to 24 hours in the worst case. During it, both sites work, so there is nothing to watch. Go and do something else.

Final checklist: 15 minutes once the domain resolves to Hostinger for you. Then a week of leaving the old host alone before you cancel it.

Common migration mistakes

Every failed migration I have been called in to fix came from this short list.

Mistake 1: deleting or cancelling the old hosting first. The old site is your safety net and your rollback. It stays live until the new one is proven, and stays paid for a week after the switch.

Mistake 2: pointing the domain before checking the copy. DNS is the point of no easy return. Everything before it is reversible in minutes; everything after it is public.

Mistake 3: forgetting the email records. The website gets checked because it is visible. Email fails silently. The mailbox list from the preparation section exists precisely to prevent this one.

Mistake 4: skipping the backup because “the host does it”. Host backups are for the host’s disasters, on the host’s schedule. Your own UpdraftPlus copy, off-server, is the one you control on the day you need it.

Mistake 5: testing the form on the preview and calling it done. Forms behave differently on the live domain: sending addresses, spam filters, and delivery rules all change. Test again after the switch, on the real address.

Frequently asked questions

Will my site go down when I migrate a WordPress site to Hostinger?

Not with this order of operations. The old site serves visitors until DNS switches, and both copies work during propagation. Downtime stories come from deleting the old site first.

Will migrating hurt my Google rankings?

A like-for-like move to the same domain does not change your URLs, so rankings carry over. Keep the same permalink structure, check Search Console afterwards, and rankings typically do not move at all.

How long does a migration take?

The copy itself: under an hour for most sites, a few hours for large stores. DNS propagation: minutes to a few hours with a lowered TTL, up to 24 hours in the worst case.

What about my email?

If your email is hosted with your old host, plan it explicitly: either recreate the mailboxes at Hostinger before the switch, or keep DNS records for your external provider (Google/Microsoft) intact when you move DNS. Email is the most common migration casualty, and it is always a planning failure, never bad luck.

My domain is registered at my old host. Must I transfer it?

No. A domain can stay registered anywhere while pointing at Hostinger. Transfer it later, at renewal time, if you want everything under one roof.

Can I migrate a WooCommerce store the same way?

Yes, the same order works: back up, copy, check, switch DNS last. Two store-specific habits matter. Test the copied store properly before the switch: product page, cart, and the checkout up to the payment step. And during the propagation hours, when some visitors see the old copy and some the new one, avoid posting changes or editing products, so orders and stock never split across two versions of the store.

The short version

Back up. Migrate a WordPress site to Hostinger by copying it first, then check the copy like a pessimist. Lower the TTL, switch the DNS, force HTTPS, and keep the old host alive for a week as insurance. That is the whole craft.

I migrate client sites to Hostinger this way, in this exact order, so the checklist above is the one I use on real sites, not just a theory. If your site is a store, a membership site, or simply too important to experiment on, migrations are a standard part of my WordPress services and I am happy to be the pessimist on your behalf.

Some links are affiliate links, which means I may earn a commission at no extra cost to you. I migrate client sites to the hosts I recommend here.

Table of Contents

Himel Himu - WordPress Developer
WORDPRESS & DIGITAL EXPERTISE

Himel Himu

WordPress & Elementor Specialist

Turning Figma designs into high-performing WordPress websites with Elementor, WooCommerce and Crocoblock.

WordPress WordPress Elementor Elementor ϟ WooCommerce
More about me
LET'S TALK Available for projects