All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
If you're about to migrate your WordPress website for the first time, it's normal to feel anxious. There are a lot of moving parts, and missing even a single step can turn technical issues into costly downtime in the blink of an eye.
In this guide, I’ll explain how to transfer a WordPress site to a new host. I’ll cover all the critical steps you need to take to avoid mishaps and unpleasant surprises, so you can move your site with confidence.
How does one-click WordPress migration work?
How to transfer your WordPress site manually
Risks of WordPress migration and how to avoid them
Other types of website migration
FAQs
Bottom line
Key considerations for a WordPress website migration
Site migration is a broad topic with many branches. For this walkthrough, we’ll focus on migrating a WordPress site from one hosting provider to another. In addition, we’re going to make the following assumptions:
- Your domain name is staying the same
- Your URL structure (permalinks) isn't changing
- You're not switching between HTTP and HTTPS
If your migration involves changing domains, platform switches (e.g., from WordPress to another CMS), URL restructuring, or HTTPS conversion, you’ll need to seek additional help.
With that out of the way, we’ll begin with a fast-track method for migrating your WordPress site. We’ll then cover the full, manual WordPress migration process, which may be necessary if your new web host doesn’t offer one-click migrations.
How does one-click WordPress migration work?
Despite the name, one-click migration takes several clicks to complete. The one click is just to start the process. During the initial setup wizard, your web hosting provider will ask you if you want to migrate your site. What this looks like varies between hosts, but it’s never difficult to spot:
Namecheap’s one-click migration option during setup
Even if you don’t select it during setup, hosts will often provide a button with the same functionality in the user dashboard that you can access later.
Accessing one-click migration via the Hostinger control panel
So, should you migrate your WordPress site manually or automatically? If you have access to one-click WordPress migration, we recommend using the feature. You can simply follow the prompts on your screen to complete the process, without needing to run through the full manual migration process.
How to transfer your WordPress site manually
If you’re switching to a new host that doesn’t offer a migration wizard, then you’ll need to roll up your sleeves and get your hands dirty.
In this guide, we’ll run through the following steps:
- Step 1: Benchmark your site speed and other key metrics
- Step 2: Back up your site and media files
- Step 3: Install WordPress on your new host
- Step 4: Import your site to the new host
- Step 5: Test your site before going live
- Step 6: Update your DNS settings
- Step 7: Verify the migration and re-benchmark
Step 1: Benchmark your site speed and other key metrics
First, run your site through Google PageSpeed Insights and GTmetrix. Screenshot and save the reports, with dates.
Then, in your WordPress dashboard, install the free Google Site Kit plugin and take screenshots of your current website traffic levels, top pages, and bounce rates.
These reports will serve as your baseline performance metrics. Later, after you finish migrating your WordPress website, you can run these tests again to look for any major variations from the original results.
Step 2: Back up your site and media files
How you approach this step will depend on the native backup options available with your current host, as well as the size of your WordPress site and its files.
If your current hosting plan includes cPanel + Softaculous
Log in to cPanel and look for Softaculous. If you don’t see it, then use the search bar in the top right to find it.
Once you get into Softaculous, look for the WordPress Manager. It will often be represented by the WordPress logo.
If your version of Softaculous doesn’t include a WordPress Manager, then you can access your installations from the main Softaculous page under Installations.
As soon as you see your website(s) populate, tap on the down icon on the right. Then scroll down to the row of buttons at the bottom and look for the one labeled Backup.
If you don’t have access to Softaculous or another native backup solution provided by your hosting company, you can use a freemium plugin called All-in-One WP Migration. Install it and activate it. Next, take the following steps, depending on the size of your website.
Migrating with All-in-One WP Migration if your site is smaller than 512 MB
From your WordPress dashboard, go to All-in-One WP Migration → Backups → Create Backup → Download [Your Site].
This backup file will also be accessible in the same backup menu location.
Migrating with All-in-One WP Migration if your site is larger than 512 MB
Most active sites are larger than 512 MB and will need to take a slightly different approach.
One option is to pay for the premium version of All-in-One WP Migration, which removes the 512 MB limit. Another option is to exclude your media library from the backup request.
The media library contains your website’s images, videos, and PDFs, which are often the largest files in your setup. By excluding your media library, you'll most likely resolve the issue and stay under the 512 MB limit.
To do it, go to the All-in-One WP Migration plugin from your dashboard and then click Export → Advanced Options → Exclude Media Library → Export Site to File.
This will create the same backup as the previous set of instructions, but this time without the media library.
Next, install another free plugin called Media Library Downloader. After you activate it, go to Media → Library, and tap the Bulk Select button.
Choose all of the WordPress site files you want to back up and migrate, and click Download Selected Files. Save these somewhere, along with the file created by the All-in-One plugin.
Step 3: Install WordPress on your new host (without affecting your live site)
This is an important step, especially for businesses and ecommerce stores. While no one wants downtime, it’s important to get it right when money is at stake.
The good news is that you can install WordPress, migrate your site, and test everything while your site remains running on the old host until your new site is ready.
The process for installing WordPress varies by web hosting provider. Most reputable shared plans include a one-click WordPress installer in the dashboard or control panel. For managed WordPress plans, you might not even have to do anything, as WordPress is often pre-installed.
The key is choosing a temporary domain during setup. Many hosts offer temporary domains (e.g., test.ewp.live on Namecheap’s EasyWP) specifically for this purpose. This allows you to build and test without affecting your live site. Once everything is verified, you can switch this temporary installation to your real domain (we'll cover this in full later on).
Most hosts make it easy to find this option, but if you don’t see a way to do it, then either check your host’s knowledge base or contact customer support and ask, "How can I install WordPress on a temporary/test domain?"
Step 4: Import your site to the new web host
Next, you'll need to move your site to the new WordPress host.
Start by going to your temporary WordPress installation (using the temp domain from the previous step) and logging in to the WordPress dashboard.
With that done, install and enable the All-in-One WP Migration plugin. Go to All-in-One WP Migration → Import and either drag and drop your backup file or click Import From → File.
The plugin will upload and import your backup. This may take several minutes, depending on the size of your site.
If you excluded your media library during the backup stage: After importing the main backup, you'll need to upload your media files separately. The easiest way to do this is to extract your downloaded media ZIP file and upload the contents via FTP to your /wp-content/uploads/ folder. You can use a free tool like FileZilla to do this.
Alternatively, you can upload files through Media → Add New in batches, though this can be tedious with large media libraries.
If you hit upload limits: Most hosts restrict upload file sizes. In the screenshot above, you can see the limit is set to 1 GB, which is almost double the 512 MB export limit of the free All-in-One WP Migration plugin. If your host caps you below the size of your export file, then contact customer support. Explain what you’re trying to do, and ask them to increase your limit, even temporarily if necessary.
Step 5: Test your site thoroughly
Before going live, you need to verify that everything works correctly on your new host. Using your temporary domain, browse through your site and check that:
- All pages and posts load correctly
- Images and media display properly
- Contact forms are working
- All ecommerce functionality works (test the checkout functionality, but don't process real payments)
- Menu navigation functions correctly
- Plugins are active and working
Also, go to Settings → Permalinks and click Save Changes twice (yes, twice). This refreshes your permalink structure and often resolves issues where pages return 404 errors.
Step 6: Update your DNS settings and switch domains
Once you've confirmed that everything works, it's time to activate the site as it exists with your new host. This is a two-part process:
Part 1: Update your domain's nameservers
Your domain registrar is the company where you originally purchased your domain name. In many cases, this is the same company as your old hosting provider. For example, if you bought your domain and hosting together from Hostinger, then Hostinger is both your old host and your domain registrar.
Log in to your domain registrar’s account, and look for domain management, DNS settings, or nameservers. Update your nameservers to the ones provided by your new host. Your new host should have provided these nameservers in your welcome email or hosting dashboard. The hosting server details typically look like this:
- ns1.newhostname.com
- ns2.newhostname.com
If you're not sure where your domain is registered, you can check at who.is by entering your domain name, and it will show you the registrar.
Part 2: Switch your WordPress installation to your real domain
Some managed WordPress platforms (like EasyWP) let you change your site's domain from the temporary domain to your real domain directly from the user dashboard. The process is usually straightforward. First, look for Change Domain or similar options.
If you are using cPanel/shared hosting, the process is more complex. You'll need to move your WordPress files from the temporary directory to your main public_html folder and update your site URLs in WordPress Settings → General or directly in the WordPress database. This process varies by hosting setup, so contact your host's support center for step-by-step guidance specific to your account.
Step 7: Verify the migration and re-benchmark
After the DNS finishes propagating, run the same performance tests as you did at the start of the migration process with Google PageSpeed Insights, GTmetrix, and a Google Site Kit analytics check. You can check progress on DNS propagation at whatsmydns.net by entering your domain name.
Compare these results to your baseline. Your new host should perform as well or better. If you notice significant performance degradation, contact your new host's support to troubleshoot the issue.
Also check:
- Google Search Console for any crawl errors
- That your sitemap is still accessible at yoursite.com/sitemap_index.xml
- That your SSL certificate is active (your site should load with https://)
- All forms and interactive features still work on the live domain
If everything checks out, your migration is complete.
Risks of WordPress migration and how to avoid them
The website migration process carries real risks if handled incorrectly, including lost traffic and revenue and damaged search rankings. Understanding these common pitfalls and taking precautions can help you avoid costly mistakes.
Here are some ways to avoid common WordPress migration mistakes:
- Downtime: Test everything on a temporary domain so your old site stays live until the new one is ready, minimizing downtime to just cover DNS propagation.
- Data loss: Create complete backups before starting and store them in multiple locations until you've verified that the new site works perfectly.
- Broken functionality: Test all the forms, checkout processes, user logins, and plugins on your temporary domain before updating the DNS.
- Search engine indexing problems: Keep your URL structure unchanged and monitor Google Search Console after DNS changes.
- Performance degradation: Benchmark site speed before and after migration, and contact your host if performance drops significantly.
- Lost or corrupted content: Manually confirm that your most important pages, posts, and images are transferred correctly, rather than assuming that everything worked.
- SSL certificate issues: Ensure your site loads with https:// after migration, and if you encounter any problems, contact your host's customer support for assistance.
Other types of website migration
The site migration we covered in this guide — moving your WordPress site from one hosting company to another, while keeping your domain, URL structure, and protocols the same — is one of the most common and straightforward types of migrations. However, there are times when you might need to perform other kinds of migration.
These include platform migrations, where you move from one CMS to another (from WordPress to Ghost, for example), HTTP to HTTPS migrations, domain name changes, and URL structure changes, such as modifying your permalink settings or moving from subdomains to subfolders. Each of these migration types builds on the foundations covered in this guide but requires additional specific steps.
FAQs
What should I test after a WordPress migration?
Immediately after your WordPress migration, you should test all functionality, including forms, user accounts, and checkout processes; verify 301 redirects are working; confirm that SSL certificates are active; check that analytics and tracking codes are firing correctly; and start monitoring site performance and error logs.
What is the best time for a WordPress site migration?
To find the best time for a WordPress website migration, you should look at your analytics dashboard. Identify when your site experiences the lowest traffic and schedule your migration for that window. In addition, you should schedule it only after thoroughly checking all configurations on both the sending and receiving ends of your migration.
How long does it take to transfer a WordPress site?
WordPress hosting and server migrations typically take a few hours, as do HTTPS conversions. Domain changes take hours plus DNS propagation time (up to 48 hours, but often less). Platform and CMS migrations can take weeks to months, depending on how much rebuilding is required. Other specialized migrations, such as URL restructuring or site consolidation, have their own timelines and requirements.
Bottom line
Migrating your WordPress site to a new host doesn't have to be a nerve-wracking experience. The key to safely transferring your WordPress site is taking your time and not rushing the process. Remember, your old site stays live throughout the migration, and you only need to switch when you're entirely confident that the migrated site works perfectly.
If you'd rather skip the manual process entirely, many hosting providers, like Hostinger and DreamHost, will migrate WordPress sites at no extra cost when you sign up. This can be especially valuable if this is your first migration or you're dealing with a complex site.
Whether you choose to migrate manually using this guide or let your new host handle it, the most important thing is ensuring that your site and your business experience minimal disruption during the transition.
/images/2024/11/25/web_builder_review_wix_review.jpg)
/images/2024/12/18/best_website_builders.jpg)
/images/2025/10/22/http_vs_https_featured_image.png)
/images/2024/07/31/do_banks_refund_scammed_money__featured_image.png)
/images/2025/10/22/siteground_featured_image.png)
/images/2025/10/21/greengeeks_featured_image.png)
/images/2025/10/21/how_to_transfer_a_wordpress_site_to_a_new_host_featured_image.png)
/images/2025/10/21/domain_vs_hosting_featured_image.png)