Moving your WordPress site to a new host can feel like moving house. You know it’s the right decision, because the old place is too small, too noisy or too expensive, but you worry about things getting broken or lost on the way.

Those worries are reasonable. They’re also manageable. A WordPress migration done carefully means no lost content, no broken pages, and little to no downtime for your visitors.

This guide walks through the whole process: why people migrate, how to prepare, the manual and plugin methods, how to test before going live, and what to check afterward.

Why Migrate Your WordPress Site?

People move hosts for plenty of reasons, and most of them show up as symptoms before they become emergencies:

  • Slow load times. Pages take too long to respond, especially at busy periods.
  • Frequent downtime. Your site goes offline more often than it should.
  • Poor support. Tickets sit unanswered for days when something breaks.
  • Outgrown resources. Your traffic has increased, but your plan hasn’t.
  • Renewal price shock. The cheap introductory rate has jumped to something much higher.
  • Missing features. No free SSL, no reliable backups, or an awkward control panel.
  • Better infrastructure elsewhere. Faster storage, stronger security or a data center closer to your customers.

If any of this sounds familiar, switching is likely worth the effort. A host with NVMe SSD storage, account isolation and round-the-clock support can make a visible difference to both speed and peace of mind.

Before You Start: Prepare Properly

Most migration problems come from skipping preparation. Spend an hour here and you’ll save yourself a lot of stress later.

1. Choose Your New Host First

Don’t cancel your old hosting until the new site is up and running. Both accounts should overlap for a while, so you have a safety net.

When comparing hosts, look at uptime guarantees, storage type, security, backups, support quality and room to grow. A host that offers WordPress-friendly plans is a plus. WordPress hosting is set up specifically for how the platform works, and standard web hosting with cPanel suits most small and medium sites. If you expect to grow, think ahead: VPS hosting is the natural next step after shared plans, and this comparison of shared vs VPS hosting can help you decide where to start.

2. Ask About Free Migration

Many hosts will move your site for you at no cost. Globalink offers free migration and handles the transfer with the goal of zero downtime. If you’re not comfortable with the technical side, this is by far the easiest route. You can contact the team to ask how it works, and then the rest of this guide serves as a way to understand what’s happening or to do it yourself.

3. Take a Full Backup

Before touching anything, back up everything: files and database. Store a copy somewhere safe, away from your server, such as your computer or a cloud drive. If anything goes wrong, you can always return to this point.

4. Take Stock of Your Site

Make a quick list of what you have:

  • Your WordPress version, theme and active plugins
  • Any custom code or modified theme files
  • Email accounts tied to your domain
  • Cron jobs, redirects and special server settings
  • Where your DNS is managed and who your domain registrar is
  • Any third-party services connected to the site, such as payment gateways and email marketing tools

Having this list makes it far easier to check that nothing has been missed.

5. Clean House

Moving is a good moment to declutter. Delete unused plugins and themes, remove spam comments, clear old post revisions and compress oversized images. A leaner site transfers faster and runs faster at the other end.

6. Pick a Quiet Time

Schedule the final switch for a low-traffic period, such as late at night or over a weekend, and avoid major sales, launches or campaigns. If you run an online store, avoid moving during peak order times.

Choose Your Migration Method

There are three common ways to migrate WordPress. Pick the one that matches your comfort level.

MethodBest forEffort
Host-managed migrationAnyone who wants it done for themLowest
Migration pluginSmall to medium sites, non-technical ownersLow to medium
Manual migrationLarge sites, developers, custom setupsHighest

Option A: Let Your New Host Do It

The simplest route is to ask your new provider to migrate the site. You give them access to the old hosting, they copy everything across, test it, and tell you when it’s ready. It takes the technical burden off your shoulders and is often the safest choice for business sites.

Option B: Use a Migration Plugin

Plugins automate the process of packaging your site and unpacking it at the new host. Popular options include All-in-One WP Migration, Duplicator and UpdraftPlus (which has a migrate function in its premium version). The general flow looks like this:

  1. Install the plugin on your existing site.
  2. Export or package the site into a single archive file.
  3. Set up a fresh WordPress installation on your new host.
  4. Install the same plugin there and import the archive.
  5. Check that everything transferred correctly.

Plugins are convenient, but they do have limits. Large sites can hit upload size restrictions, and some plugins struggle with complex setups. If you hit a wall, the manual method is the fallback.

Option C: Manual Migration

Manual migration gives you the most control and is reliable for large sites. It has three main parts: moving the files, moving the database, and updating the configuration.

Step 1: Copy Your Files

Your WordPress files include core files, themes, plugins and your uploads folder. Connect to your old server using FTP/SFTP (with a client such as FileZilla) or use the File Manager in cPanel, then download the whole WordPress directory (usually public_html) to your computer. For large sites, compressing the folder into a zip file first speeds things up.

The most important folder is wp-content, which holds your themes, plugins and media uploads. Don’t forget hidden files like .htaccess.

Step 2: Export Your Database

Your posts, pages, comments, settings and users live in a MySQL database. To export it, open phpMyAdmin from your old cPanel, select your WordPress database, choose Export and save the resulting .sql file.

Your database name is listed in the wp-config.php file, in case you’re not sure which one it is.

Step 3: Create a New Database on the New Host

In your new host’s control panel, create:

  • A new, empty MySQL database
  • A database user with a strong password
  • An assignment giving that user full privileges on the database

Write down the database name, username and password. You’ll need them in a moment.

Step 4: Import the Database

Open phpMyAdmin on the new host, select the empty database, choose Import and upload your .sql file. For very large databases, you may need to increase upload limits or ask your host to import it via the command line.

Step 5: Upload the Files

Upload your WordPress files to the new server’s web directory (again, usually public_html) using FTP or the File Manager. If you uploaded a zipped file, extract it there.

Step 6: Update wp-config.php

Open the wp-config.php file and update the database details to match the new database:

  • DB_NAME is the new database name.
  • DB_USER is the new database username.
  • DB_PASSWORD is the new database password.
  • DB_HOST is usually localhost, but your host may specify something different.

Save the file and upload it to the server.

Test Before You Switch DNS

This is the step most people skip, and it’s the one that prevents most disasters. Before you point your domain to the new server, test the site there.

There are a few ways to preview:

  • Edit your hosts file. Add a line to your computer’s hosts file that points your domain to the new server’s IP address. Only your computer will see the new site, while everyone else still sees the old one.
  • Use a temporary URL or preview link if your host provides one.
  • Ask your host for a staging environment or preview method.

Once you can see the migrated site, check carefully:

  • Does the homepage load correctly?
  • Do inner pages, posts and categories work? (If you see 404 errors, re-save your permalinks under Settings → Permalinks.)
  • Are images and media showing?
  • Do forms send messages?
  • Can you log into the admin dashboard?
  • If you run a store, does the cart work? Can you complete a test checkout?
  • Are plugins and theme features functioning normally?
  • Is the layout identical on desktop and mobile?

Fix any issues now, while the live site is still unaffected.

Switch Your DNS

When you’re happy with the test, it’s time to make the new site live. This means updating your domain’s DNS so that visitors are sent to the new server.

You have two options:

  1. Change the nameservers at your domain registrar to your new host’s nameservers.
  2. Update the A record to point to the new server’s IP address, if you manage DNS elsewhere.

If you manage your domain through your host, it’s simple. You can handle domain registration and domain transfer in the same place as your hosting, which keeps everything easier to manage. If you’re using a local extension such as a .PK domain, check any registry-specific requirements for changing nameservers.

Reduce Downtime With a Low TTL

DNS changes can take time to spread across the internet, from a few minutes to up to 48 hours in some cases. To speed things up, lower the TTL (time to live) on your DNS records to something short, such as 300 seconds, a day or so before the switch. That way, the change propagates faster.

Keep the Old Site Running

During propagation, some visitors will see the old site and some the new one. Keep your old hosting active for at least several days. If your site accepts orders, comments or form submissions, consider briefly pausing changes on the old site just before the switch so that nothing is lost.

After the Migration: Your Checklist

Once DNS has propagated and the new site is live, do a final round of checks.

1. Install or confirm your SSL certificate. Make sure HTTPS works and there are no mixed-content warnings. Hosts that include free SSL, as Globalink does on all hosting plans, make this painless.

2. Check your email. If your email accounts were hosted with your old provider, recreate them and update MX records accordingly. If you want a more robust business email setup, consider Google Workspace.

3. Test everything again. Run through forms, checkout, logins and key pages once more on the live domain.

4. Re-save permalinks. Visit Settings → Permalinks and click Save to refresh rewrite rules.

5. Verify redirects and .htaccess. Make sure any custom redirects are still working.

6. Submit your sitemap again. In Google Search Console, make sure the site is verified and the sitemap is resubmitted. Watch the Coverage and Crawl Stats reports for errors in the days after the move.

7. Set up backups. Confirm that automatic, off-server backups are running on the new host.

8. Check your speed. Test page speed and server response time. A good host should show an improvement, and if you want to dig deeper, techniques such as caching, a CDN and keeping PHP up to date will help.

9. Update external services. If any third-party tools were tied to your old server’s IP address, such as payment gateways, APIs or firewalls, update them.

10. Keep the old account for a while. Wait a week or two, confirm everything is stable, then cancel the old hosting.

Common Migration Problems (and Fixes)

Even careful migrations can hit snags. Here are the usual suspects:

  • “Error establishing a database connection.” The details in wp-config.php are probably wrong. Double-check the database name, user, password and host.
  • Pages show 404 errors. Re-save your permalinks. If it persists, check that the .htaccess file was transferred.
  • Broken images or missing styles. URLs may still point to the old location. Use a search-and-replace tool to update old URLs in the database, and be careful to handle serialized data properly.
  • White screen of death. Often a PHP version mismatch or a faulty plugin. Check error logs, try a different PHP version and disable plugins one at a time.
  • Mixed content warnings. Some resources are loading over HTTP instead of HTTPS. Update URLs and force HTTPS.
  • Site looks the same as the old one after DNS change. That’s likely propagation delay or local caching. Clear your browser cache and wait a bit longer.
  • Upload or import fails because the file is too big. Raise PHP limits, split the file, or ask your host to do the import.

If you get stuck on any of these, 24/7 support from your new host is a great asset. You can always reach out to Globalink’s team for help with a stubborn issue.

Migration Tips for Special Situations

Online Stores

WooCommerce and other ecommerce sites need extra care, because orders and customer data change constantly. Plan a short maintenance window, put the old store into maintenance mode just before the final sync, and test the entire checkout, including payments, on the new host. Hosting designed for stores, such as ecommerce hosting, is built for these heavier workloads.

Business Websites

For company sites where credibility matters, plan the migration for an off-hour and test contact forms and email delivery carefully. Purpose-built business hosting gives you the reliability and support a professional site needs.

Agencies Moving Multiple Sites

If you manage lots of client sites, consider consolidating under reseller hosting, which lets you host many accounts with a single plan and manage them from one place. It also supports white label hosting and WHMCS billing if you want to offer hosting under your own brand.

Sites That Have Outgrown Shared Hosting

If the reason you’re moving is that shared hosting can’t keep up, this is a good moment to go bigger. A VPS offers dedicated resources and root access, and options like Managed VPS mean you don’t have to administer the server yourself. For the largest sites, dedicated servers provide maximum power.

Final Thoughts

Migrating a WordPress site isn’t something to fear, but it’s something to do deliberately. The recipe is simple: choose your new host, back everything up, move the files and database, test on the new server before touching DNS, switch over at a quiet time, and check everything afterward.

If you’d rather skip the technical work, the easiest path is a host that migrates for you. Free, managed migration takes away the risk and lets you focus on running your business while someone else handles the move.

Ready to switch? You can explore Globalink’s hosting plans, talk to the team about migration, or browse more guides on the Globalink blog.