Are you looking to move WordPress site to new host safely? This guide provides a detailed walkthrough for a smooth transition without losing any data. We cover file transfers, database migration, and final DNS configuration to ensure your website stays online throughout the entire process.
How to migrate wordpress website to a new host
For the past few years, I have retained a company to help with the marketing for my small business. They made a website for me and hosted it, using a domain i already owned
I have terminated the contract with them, so I need to transfer hosts
They provided a drop box with the standard zip of all site files and the database, along with an "All In One Site Migration file"
They also provided a username and password for site login
I need to get my website back up and running and don't have the first clue on how to get started
I have made an account with siteground.com but don't know what to do next
Any help is be appreciated!
TIA
- Question from Reddit
In the ever-evolving world of web hosting, there often comes a time when your current provider no longer meets your needs. Whether you are experiencing frequent downtime, sluggish loading speeds, or poor customer support, learning how to migrate a WordPress site to a new host is a critical skill for any website owner.
While the prospect of moving your entire digital presence might seem daunting, the process is quite manageable when broken down into logical steps. In this comprehensive guide, we will explore the most effective methods to move a WordPress site to a new host, ensuring zero downtime and total data integrity.
Before we dive into the technical "how-to," let’s look at why thousands of users decide to transfer a WordPress site to another host every day:
No matter the reason, the goal remains the same: a seamless transition that keeps your SEO rankings intact.
Before you begin the process to migrate a WordPress site to a new host, you must prepare. Jumping in without a plan is the fastest way to break your site.
The manual method is favored by developers because it provides total control. If you want to know exactly how to transfer a WordPress site to another host without relying on third-party software, follow these steps.
Step 1: Back Up Your Website Files
Connect to your current host using an FTP client like FileZilla. Navigate to thepublic_htmldirectory. Select all files and download them to your local computer. This includes your wp-content, wp-includes, and core files like wp-config.php.
Step 2: Export the WordPress Database
Step 3: Create a New Database on the New Host
On your new hosting provider’s dashboard:
Step 4: Edit the wp-config.php File
Update the wp-config.php file on your computer with the new database name, username, and password.
Step 5: Upload Files and Import Database
Upload the files via FTP to the new host and use phpMyAdmin on the new host to "Import" the SQL file you exported earlier.
One of the biggest challenges when you move a WordPress site to a new host is the time it takes to download files to your computer and then re-upload them to the new server. If you have a slow internet connection or a very large website, this can take hours.
This is where MultCloud becomes an invaluable asset. MultCloud is a web-based service that allows you to link different cloud services and FTP servers, enabling you to transfer data directly from one to another without using your local bandwidth.
Why Use MultCloud to Migrate a WordPress Site?
Steps to Transfer Your Site via MultCloud:
1. Sign Up: Create a free account on MultCloud.
2. Add Your Hosts: Click "+ Manage Clouds" and select Website. Enter the credentials for your Old Host. Repeat this process to add your New Host.
3. Cloud Transfer Task: Navigate to the "Website Backup" tab, then click "Website Clone"
4. Execute: Click "Clone Now." MultCloud will move the files in the background. You can even close your browser; the servers will continue talking to each other until the transfer is done.
5. Database Migration: You can also use "Website Backup" feature in MultCloud to store your .sql database backups in a cloud drive like Google Drive and then transfer them directly to the new host’s server for a faster import process.
Using MultCloud is arguably the most efficient way to transfer a WordPress site to another host when dealing with large media libraries or slow local internet.
If you prefer a more automated "all-in-one" experience within the WordPress dashboard, you can use a migration plugin like All-in-One WP Migration or Duplicator.
1. Install the Plugin: On your old site, install the plugin and choose the "Export" option. This will create a single .wpress or zip file containing your entire site.
2. Install WordPress on New Host: Set up a fresh WordPress installation on your new hosting account.
3. Import: Install the same plugin on the new site and use the "Import" feature to upload the package you created.
4. Permalinks: Always go to Settings > Permalinks and click "Save Changes" twice after the import to ensure your URL structure is updated.
After you successfully migrate a WordPress site to a new host, your domain name is still pointing to your old server. To finalize the move:
1. Locate Nameservers: Your new host will provide "Nameservers" (e.g.,ns1.newhost.com).
2. Login to Domain Registrar: Go to your registrar (GoDaddy, Namecheap, etc.).
3. Update DNS: Replace the old nameservers with the new ones.
You aren't finished once you move a WordPress site to a new host. You must verify the integrity of the data.
1. Check for Broken Links
Sometimes internal paths break during a move. Use a plugin like "Broken Link Checker" to ensure all assets are loading.
2. Verify SSL Certificates
Ensure your new host has an active SSL certificate. If not, your visitors will see a "Your connection is not private" warning. Most hosts offer a free Let's Encrypt SSL that you can activate with one click.
3. Performance Audit
Run your site through Google PageSpeed Insights. Since one of the main reasons to transfer a WordPress site to another host is speed, you should see a measurable improvement in your Core Web Vitals.
4. Setup Automated Cloud Backups
Now that you are on a new host, don't forget about safety. Use MultCloud to schedule a weekly backup. By connecting your new host’s FTP to MultCloud and linking it to a cloud drive, you can automate the process of backing up your website files and database to the cloud, ensuring you never lose data again.
Learning how to migrate a WordPress site to a new host is an essential part of website management. Whether you choose the manual approach, the simplicity of a plugin, or the high-speed cloud-to-cloud efficiency of MultCloud, the key is to be methodical.
By following this guide, you can move a WordPress site to a new host with the confidence that your data is secure, your SEO is protected, and your site is ready for its new, faster home. Remember: always keep a backup in the cloud, and never cancel your old hosting until you are certain the new site is 100% functional.
1. How long does it take to migrate a WordPress site to a new host?
The actual file transfer usually takes between 30 minutes to 2 hours. However, the entire process—including DNS propagation—can take up to 48 hours. It is recommended to perform migrations during low-traffic periods to minimize impact.
2. Will my SEO rankings drop if I move my WordPress site?
As long as you move a WordPress site to a new host without significant downtime and keep the URL structure identical, your SEO rankings should remain stable. In fact, if the new host provides better speeds, your rankings may actually improve.
3. Can I transfer a WordPress site to another host for free?
Yes. You can use the manual FTP/phpMyAdmin method or the free versions of migration plugins. Additionally, MultCloud offers a free tier that allows you to move files between servers without spending money on expensive migration services.
4. How can I ensure I don't lose any data during the transfer?
The best way to protect your data is to have multiple backups. Before you transfer a WordPress site to another host, use MultCloud to sync your website files and database to an independent cloud storage like OneDrive or Google Drive. This "off-site" backup ensures you have a recovery point even if both your old and new hosts experience issues.
5. Do I need to change my domain name when I switch hosts?
No. Your domain name (e.g.,yoursite.com) stays the same. You only need to change the "pointers" (DNS settings) at your domain registrar to point to the new hosting server's IP address or nameservers.
6. What should I do if I get an "Error Establishing a Database Connection" after moving?
This is the most common post-migration error. It usually means the credentials in your wp-config.php file (DB Name, DB User, or DB Password) don't match the database you created on the new host. Re-verify your database settings in your hosting control panel and update the file accordingly.
Google Drive
Google Workspace
OneDrive
OneDrive for Business
SharePoint
Dropbox
Dropbox Business
MEGA
Google Photos
iCloud Photos
FTP
box
box for Business
pCloud
Baidu
Flickr
HiDrive
Yandex
NAS
WebDAV
MediaFire
iCloud Drive
WEB.DE
Evernote
Amazon S3
Wasabi
ownCloud
MySQL
Egnyte
Putio
ADrive
SugarSync
Backblaze
CloudMe
MyDrive
Cubby