XOOMAR
A laptop displaying an analytics dashboard with real-time data tracking and analysis tools.
SaaS & ToolsAugust 13, 2026· 15 min read· By XOOMAR Insights Team

Migrate WordPress Without Downtime or Data Loss

Share

XOOMAR Intelligence

Analyst Take

Updated on August 13, 2026

Moving your WordPress site to a new hosting provider is a significant but increasingly common task for website owners. Whether you’re seeking better performance, improved support, or more value, a well-planned migration can dramatically enhance your site’s health and your peace of mind. The process, while technical, is manageable with the right guidance and tools. By following a methodical approach grounded in proven practices, you can execute a WordPress migration to a new hosting provider with minimal downtime and zero data loss, ensuring a seamless transition for you and your visitors.

Introduction: Why People Migrate and Common Pitfalls

Website owners decide to move their WordPress site for several compelling reasons, often related to performance, reliability, and support. Based on industry sources, common triggers include frequent downtime or outages, which harm business and search rankings, and slow site performance that persists even after optimizations. Poor customer support from a host’s team can be a decisive factor, as can missing essential features like ecommerce support or staging environments.

A migration is an excellent opportunity to declutter your site. Remove any unused plugins, themes, or media files. A lighter site means a quicker migration and better performance.

Security is another major concern; outdated hosting is a significant liability, and modern managed hosts provide proactive security measures. Finally, the cost vs. value proposition often shifts, where a slightly higher fee for features like automatic backups, SSL certificates, and managed updates delivers far better long-term value.

Despite clear benefits, migrations come with risks. The most common pitfalls, as identified across guides, are data loss and downtime. Other frequent errors include forgetting to export the database, updating the wrong configuration file, or switching DNS records before the new server is fully ready. These mistakes can lead to broken images, redirect loops, and a “Error establishing a database connection” message. However, with careful planning and by following the steps outlined in this guide, these risks are entirely avoidable.


Section 1: Pre-Migration Checklist: Backups, Tools, and Downtime Planning

A successful migration hinges on thorough preparation. This checklist, synthesized from expert sources, ensures you have a safety net and all necessary tools before starting.

Create a Full Backup: This is your non-negotiable safety net. Back up your entire WordPress installation, including all files, folders, and the database. You can use your current host’s backup tool or a plugin like Duplicator or UpdraftPlus. Crucially, download the backup file to your local computer so you have access regardless of server issues.

Document Everything: Before changing anything, document your current site’s configuration. Record the WordPress and PHP version, your permalink structure, all active themes and plugins, and any custom settings in wp-config.php or .htaccess. Taking screenshots can provide a helpful visual reference.

Prepare the New Host: Sign up for your new hosting account. Importantly, do NOT install WordPress on the new server if you are performing a full migration, as you will be overwriting those files. Your new account’s web root (e.g., public_html) should be empty.

Gather Credentials and Tools: Ensure you have:

  • Admin access to your current WordPress dashboard.
  • FTP/SFTP credentials for both old and new hosts (a client like FileZilla works fine).
  • Access to control panels (like cPanel or hPanel) for both hosts.
  • Login details for your domain registrar to later update DNS.

Plan for Downtime: The goal is zero downtime, but you must plan for the DNS propagation period, which can take 24 to 48 hours globally. Schedule your final switch during low-traffic hours. Techniques like modifying your local hosts file allow you to test the new site live before making the switch public, ensuring 100% uptime for your visitors.

Clean Up Your Site: Remove unused plugins, themes, and media files. A leaner site migrates faster and performs better on the new server.


Section 2: Step-by-Step Manual Migration using SFTP/phpMyAdmin

The manual method offers complete control and is recommended for larger sites (over 2 GB) or when plugin-based tools fail. It involves separate handling of files and the database.

Step 1: Export Your Database

  1. Access phpMyAdmin on your old host (usually via cPanel > Databases).
  2. Select your WordPress database.
  3. Click the Export tab.
  4. Choose the Quick export method and SQL format.
  5. Click Go to download the .sql file to your computer.

Step 2: Download All WordPress Files

Using an FTP client like FileZilla or your host’s file manager, connect to your old server. Download the entire contents of your website’s root directory (commonly public_html). This includes the core files, wp-config.php, and the crucial wp-content folder containing themes, plugins, and uploads.

Step 3: Set Up the New Server

  1. In your new host’s control panel, create a new MySQL database and user. Grant the user All Privileges to the database. Note down the database name, username, and password.
  2. Import your database: In the new host’s phpMyAdmin, select the new empty database, go to the Import tab, upload your .sql file, and click Go.

Step 4: Upload Files and Configure

  1. Using FTP, upload all the downloaded WordPress files to the root directory (e.g., public_html) on your new server.
  2. Locate and edit the wp-config.php file on the new server. Update the following lines with your new database details:
    define('DB_NAME', 'your_new_database_name');
    define('DB_USER', 'your_new_database_user');
    define('DB_PASSWORD', 'your_new_database_password');
    

    ⚠ Warning: Leave DB_HOST as localhost unless your host has told you otherwise. Changing it unnecessarily will break the database connection.

Step 5: Update URLs in the Database (If Necessary)

If your domain name is changing, you must replace all old URLs in the database with the new one. Do not use a simple text search-and-replace, as it can corrupt serialized data. Use a safe tool like the WP-CLI command wp search-replace or a trusted plugin like Better Search Replace on the new site temporarily.

Step 6: Test Before Going Live

Use your new host’s temporary URL or modify your local hosts file to point your domain to the new server’s IP address. This lets you test the site thoroughly before updating DNS for the world.


For most users, especially those with sites under 512 MB, a migration plugin is the easiest and fastest path. These tools automate the packaging and deployment of your entire site.

Feature Duplicator (Free/Lite) All-in-One WP Migration
Best For General migration, sites up to 500MB Simpler transfers, smaller sites
Key Limitation Free version has size/feature limits 256MB maximum upload file size
Pro Version Duplicator Pro for large sites, scheduled backups Available for larger file sizes
Process Creates an archive.zip and installer.php file Creates a single .wpress file for export/import

Method A: Migrating with Duplicator

  1. Create Package on Old Site: Install/activate Duplicator on your old site. Go to Duplicator > Packages > Create New. Follow the wizard and click Build. Download both the installer.php and the archive.zip files.
  2. Upload to New Host: Via FTP or file manager, upload both downloaded files to the empty root directory of your new hosting account.
  3. Create Database: On your new host, create an empty MySQL database and user, as described in the manual section.
  4. Run Installer: In your browser, visit http://your-new-server-temporary-url/installer.php. Follow the on-screen steps, entering your new database details when prompted. The installer will extract the archive and update all configuration automatically.
  5. Finalize: Once complete, log in to the new site’s WordPress admin with your old credentials to verify.

Method B: Migrating with All-in-One WP Migration

  1. Export: On your old site, install the plugin, then go to All-in-One WP Migration > Export. Click Export to > File to download the .wpress backup.
  2. Prepare New Site: On your new host, you must install a fresh WordPress first. Then, install the All-in-One WP Migration plugin on this fresh installation.
  3. Import: In the new site’s dashboard, go to All-in-One WP Migration > Import. Upload the .wpress file. The plugin will overwrite the fresh install with your migrated site.
  4. Permalinks: Finally, go to Settings > Permalinks and click Save Changes to flush rewrite rules.

ℹ️ Prefer not to handle the migration yourself? Duplicator also offers expert WordPress Migration Services. This is a fully done-for-you solution, managing the backup, transfer, and final checks for a smooth, stress-free migration with zero technical hassle.


Section 4: Post-Migration Tasks: DNS Propagation and SSL Certificates

Once your site is fully tested and working on the new host, it’s time to make the switch public. This revolves around domain name system (DNS) management.

Updating DNS: Log into your domain registrar’s dashboard (e.g., GoDaddy, Namecheap, Cloudflare). Update the A record to point your domain to the new hosting provider’s IP address. Alternatively, you may update the nameservers to those provided by your new host.

Understanding Propagation: DNS propagation is the time it takes for this change to update across the internet’s global network of servers. This process typically takes 1 to 48 hours, though most users see changes within 2-4 hours. During this window, some visitors may see the old site while others see the new one.

Implementing SSL Certificates: Modern hosting providers often offer free SSL certificates (like Let’s Encrypt) through their control panel. After your DNS points to the new host, you should install or enable an SSL certificate for your domain to ensure https:// works correctly. Many managed hosts do this automatically.

Removing Local Overrides: If you used a hosts file modification to preview your site, don’t forget to remove that entry after the DNS change is complete, so your computer resolves the domain normally.


Section 5: Testing Your Site on the New Host Before Finalizing

Never switch DNS before exhaustive testing. Using the new host’s temporary URL or your hosts file trick, conduct a full audit.

Functional Testing:

  • Navigation: Click through all major pages, menus, and posts.
  • Forms: Test contact forms, search, and checkout processes to ensure they submit correctly.
  • Media: Verify all images, videos, and documents in the library display properly.
  • Plugins & Themes: Log into /wp-admin and confirm all plugins are active and your theme looks correct.
  • Permissions: Ensure you can create new posts/pages and upload media.

Technical Checks:

  • URLs: Check that no links are still pointing to your old server’s IP address or old domain.
  • HTTPS/SSL: If configured, ensure the site loads securely without browser warnings.
  • Database Connection: Confirm there are no database errors on any page.

Important! Regardless of the migration method you choose, consider using a WordPress staging environment to test your site first on the new host. This helps ensure a smooth transition without impacting your live site’s functionality or user experience.

Only after you have confirmed 100% functionality on the new server should you proceed to update your domain’s DNS settings.


Section 6: Optimizing Performance on Your New Hosting Environment

Migration is the perfect time to implement performance best practices on a fresh server.

  1. Leverage Built-in Caching: Many quality hosts, especially managed WordPress hosting providers, include server-level caching (e.g., Object Caching, OPcache). Enable these features via your hosting dashboard.
  2. Configure a CDN: Consider integrating a Content Delivery Network (CDN) like Cloudflare. This serves your static assets (images, CSS, JS) from locations closer to your visitors, speeding up global load times.
  3. Optimize Images: Before re-uploading, ensure images are properly compressed. You can use plugins like Smush or ShortPixel, but performing this before migration reduces the package size.
  4. Review Plugin Necessity: Use the migration cleanup as a chance to permanently deactivate and delete any plugins you identified as unused during your pre-migration audit.
  5. Update Everything: Once live, ensure WordPress core, all plugins, and your theme are updated to their latest, most secure, and often most performant versions.

Section 7: Troubleshooting Common Migration Errors

Even with planning, you might encounter issues. Here are solutions grounded in support documentation.

Error Likely Cause Solution
Error Establishing Database Connection Incorrect wp-config.php settings or unlinked database user. 1. Verify DB_NAME, DB_USER, DB_PASSWORD in wp-config.php.
2. In cPanel, confirm the database user is added to the database with All Privileges.
Broken Images/Links Incomplete file transfer or missed search-replace for URLs. 1. Re-upload the wp-content/uploads folder via SFTP.
2. Run a proper search-replace tool (e.g., Better Search Replace) to update old URLs to the new domain.
White Screen of Death PHP fatal error, often from a plugin/theme conflict or memory limit. 1. Enable WordPress debug mode by adding define('WP_DEBUG', true); to wp-config.php to see the error.
2. Rename the plugins folder via FTP to disable all plugins, then re-enable one by one.
Redirect Loop Mismatched siteurl/home in database or old .htaccess rules. 1. In phpMyAdmin, run: UPDATE wp_options SET option_value='https://newdomain.com' WHERE option_name IN ('siteurl','home');
2. Go to Settings > Permalinks and click Save Changes.
Migration Plugin Times Out Site exceeds PHP’s max_execution_time on shared hosting. 1. Use the manual migration method.
2. Or, upgrade to Duplicator Pro for chunked transfers.
Secure Hash Mismatch (Duplicator) The archive file was corrupted during upload. Re-upload the archive.zip file using SFTP instead of the cPanel file manager, then retry the installer.

File Permission Errors: If you see 403 Forbidden errors, correct permissions via SSH if available:

find /public_html -type f -exec chmod 644 {} \;
find /public_html -type d -exec chmod 755 {} \;

Never use 777 permissions, as this is a security risk.


Conclusion: Successfully Launched, Final Checklist

Congratulations on migrating your WordPress site. To ensure a clean handover and ongoing stability, run through this final checklist:

  • DNS Propagation Complete: Use a tool like whatsmydns.net to confirm your domain globally points to the new host’s IP.
  • SSL Certificate Active: Your site loads with https:// and shows a valid padlock in the browser.
  • Full Site Functional Test: Re-test all forms, features, and site pages on the live domain.
  • Backups Configured on New Host: Set up regular automatic backups using your new host’s tool or a plugin.
  • Old Hosting Account: Keep your old hosting account active for at least a week, then cancel it after confirming no residual services (like email) are affected.
  • Submit Sitemap: Resubmit your XML sitemap to Google Search Console to help with re-indexing.
  • Monitor Performance: Use tools like Google PageSpeed Insights to establish a new performance baseline on your improved hosting.

By methodically following these steps, you’ve not only moved your site but have likely also improved its foundation for future growth.


FAQ

Can I migrate WordPress without losing SEO rankings? Yes. As long as your URLs stay the same and you correctly update all internal links during the migration (via the search-replace step), your SEO should remain intact. Submitting an updated sitemap after the move helps search engines re-crawl your site efficiently. Temporary ranking fluctuations during DNS propagation are normal and typically recover quickly.

How long does a whole WordPress migration take? The active file transfer and database import usually take 15 to 90 minutes, depending on your site’s size. The DNS propagation period that follows can take 24 to 48 hours to complete globally, though most users see the change within a few hours. The entire process from backup to final verification often takes 1-3 hours of hands-on work.

Do I need to install WordPress on the new server first? For a full migration using a plugin or the manual method, no. You are bringing your own WordPress files and database. Installing WordPress fresh would only create files you will overwrite. Simply create an empty database and upload your migrated files to the web root.

What happens to my email when I migrate my website? Website files/database and email are separate services. Migrating WordPress does not automatically move your email. If your email is hosted with your old web host, you must separately migrate email accounts or update your domain’s MX records to point to your new email provider. Do not change MX records until you are ready to switch email hosting.

My new host offers free migration. Should I use it? Many hosting companies, including Hostinger, SiteGround, and GoDaddy, offer free migration services. It’s an excellent, low-stress option. Contact their support to request it. They will typically ask for your old site’s credentials and handle the entire transfer for you, often within 2-48 hours.


Bottom Line

Migrating your WordPress site to a new hosting provider is a systematic process that, when grounded in careful preparation and proven methods, is entirely manageable. The key takeaways from expert sources are clear: always start with a full backup, choose the right method for your site size (plugin for simplicity, manual for control), test thoroughly on the new host before changing DNS, and methodically troubleshoot common errors like database connection issues or broken links. By viewing migration as an opportunity for optimization and choosing a host that aligns with your needs for speed, support, and security, you can execute a transition that improves your site’s performance and reliability with minimal risk.

Sources & References

Content sourced and verified on August 13, 2026

  1. 1
    How to Move WordPress to a New Host or Server (with No Downtime)

    https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-to-a-new-host-or-server-with-no-downtime/

  2. 2
    How to Migrate a WordPress Site: 5 Methods

    https://www.hostinger.com/tutorials/how-to-migrate-wordpress/

  3. 3
    How to Migrate WordPress to a New Host (Without Breaking Your Site)

    https://hostandtech.com/kb/wordpress/how-to-migrate-wordpress-to-a-new-host/

  4. 4
    How to Migrate WordPress to a New Host (Step-by-Step)

    https://wpschool.com/tutorials/how-to-migrate-wordpress/

  5. 5
    How to migrate a WordPress site to a new host

    https://www.godaddy.com/resources/skills/how-to-migrate-wordpress-site-to-new-host

  6. 6
    How to Migrate a WordPress Site to a New Host (Without ...

    https://wpharbor.com/blog/how-to-migrate-wordpress-site/

XOOMAR

Written by

XOOMAR Insights Team

Research and Editorial Desk

The XOOMAR Insights Team pairs automated research with human editorial judgment. We track hundreds of sources across technology, fintech, trading, SaaS, and cybersecurity, cross-check the facts, and explain what happened, why it matters, and what to watch next. We do not just rewrite headlines. Every article is fact-checked and scored for reliability before it goes live, and we link back to the original sources so you can verify anything yourself.

Related Articles

A cozy home office scene with a laptop, notebook, smartphone, and coffee, perfect for productivity.SaaS & Tools

Install WordPress Performance Stack Now on VPS

A detailed, production-ready guide to deploying a high-performance, secure WordPress stack on a VPS using the modern LEMP configuration for superior control and

Aug 13, 202613 min
Cloud hosting and shared server racks contrasted with scaling traffic and cost-risk visuals.SaaS & Tools

Serverless Hosting vs Shared Hosting Costs Can Fool You

Shared hosting wins on cheap basics. Serverless wins when traffic spikes, uptime matters, and manual scaling gets risky.

Jun 17, 202622 min
Small website setup contrasted with oversized cloud hosting infrastructure, symbolizing wasted SaaS spending.SaaS & Tools

Low-Traffic Web Hosting Traps Quietly Drain Budgets

Most low-traffic business sites need reliable basics, not pricey cloud plans. The real risk is overbuying before visitors arrive.

Jun 19, 202620 min
Podcast SaaS dashboards comparing team networks with private feeds, memberships, video, and cloud hostingSaaS & Tools

Transistor vs Castos Reveals the Better Growth Bet

Transistor wins for teams and multi-show networks. Castos fits WordPress, private feeds, memberships, and video workflows.

Jun 17, 202619 min
Unlabeled edge cloud platforms and SaaS dashboard showing cost and latency tradeoffsSaaS & Tools

Edge Costs Bite in Cloudflare Workers vs Vercel vs Netlify

Cloudflare wins on edge cost and latency, Vercel owns Next.js, and Netlify still fits content-heavy teams.

Jun 17, 202621 min
Explore a colorful abstract maze with surreal lighting, ideal for backgrounds or creative projects.Technology

Choosing LLM Paths Could Make Or Break Your Project

The choice between open-source and paid LLM platforms is now a critical strategic decision for developers, directly affecting cost, data sovereignty, and long-t

Aug 13, 202611 min
Contemporary office desk featuring a laptop, smartphone calculator app, and business graphs.Technology

AI Meeting Apps Rescue You from Note-Taking Chaos

AI productivity apps automatically transcribe meetings and create tasks, saving professionals over four hours per week and erasing the chaos of scattered notes.

Aug 13, 202615 min
A diverse team engages in discussion around computers in a modern office setting.Technology

SEO Teams Ditch Generic AI as Search Scrambles

Generic AI text generators are failing at SEO in 2026, as winning tools now integrate deep keyword research and competitor analytics to optimize for both tradit

Aug 13, 202613 min
Close-up of DeepSeek AI chat interface on a laptop screen in low light.Technology

Build an AI Chatbot That Boosts Sales Without Coding

You can now build and deploy a sophisticated, custom AI chatbot for your website in under 30 minutes using no-code tools, a process that once cost six figures a

Aug 13, 202611 min
Screen displaying ChatGPT examples, capabilities, and limitations.Technology

ChatGPT, Claude, Gemini Tested for Leading AI Assistant

New testing shows a clear leader emerging among ChatGPT, Claude, and Gemini for core tasks, while revealing why autonomous agents are the next frontier for work

Aug 13, 202613 min