How to Migrate WordPress Site to New Host? (Step-by-Step Guide)

Thinking of migrating the WordPress website to a new host or just picturing the nightmare of data loss? Let me put your mind at ease. WordPress website migration is a crucial but stratightforward process, if done right. It can be helpful for any website owner seeking better performance, features, or cost savings.

This comprehensive guide will cover 5 different ways the WordPress experts go about migrating the website to a new host effectively. But first, let’s see why you may consider migration.

When to Consider WordPress Site Migration to New Host?

Before migrating the WordPress site to a new host, understand the key situations and reasons to do it. So you can plan and execute strategically by checkmarking. So let’s look at a few scenarios where you may consider moving to a new WordPress host.

  • Slow Load Times: If your website is consistently slow, it can negatively impact user experience and SEO.  
  • Frequent Downtime: Unexpected outages can harm your website’s reputation and lead to lost revenue.
  • Lack of Security Features: If your current host doesn’t offer robust security measures, your website could be vulnerable to attacks.  
  • Recent Security Breaches: A data breach can have serious consequences, including financial losses and reputational damage.
  • Insufficient Storage: If your website is growing, you may need more storage space for media files and other content.  
  • Limited Bandwidth: High traffic can exceed your current bandwidth limits, leading to slow performance or even downtime.
  • Unresponsive or Ineffective Support: If you’re unable to get timely and helpful support from your current host, it can be frustrating and hinder your website’s growth.
  • Outdated Server Infrastructure: Old hardware and software can impact performance, security, and compatibility with modern WordPress versions.
  • Increased Traffic: If your website is experiencing significant growth, you may need a more powerful hosting plan.

To analyze the core reason, you can first check WordPress error logs and consider using web optimization tools. Even after conducting such practices if you’re unable to improve site speed then you should definitely migrate it to a new hosting environment.

Research the potential best WordPress hosting providers thoroughly, and considering seeking expertise if necessary. You may hire our WordPress migration services to get the best results.

Want to migrate your WordPress site to a new host?

How to Migrate WordPress Site to New Host?

Let’s maintain transparency here, migrating a WordPress site to a new host can honestly be a complex task. You have two options here: either you hand over this web migration to experienced WordPress developers or follow a systematic approach mentioned below.

There are different methods you can use for this migration, and you’ve outlined five easy yet effective methods of WordPress migration: 

  1. Manual Migration
  2. Staging Site Migration
  3. Plugin-based Migration
  4. cPanel/Plesk Migration
  5. FTP Migration

Here’s a step-by-step guide for each type:

Manual Migration

Manual migration involves transferring your WordPress site manually, including copying files and exporting/importing the database. It’s beneficial when you need a higher degree of control and customization during the migration process.

Step 1: Backup Your Site

Step 2: Set Up the New Hosting Account

  • Sign up for a new WordPress hosting plan with and set up your domain.
  • Make sure the server environment meets WordPress requirements.

Step 3: Export the Database

  • Access your old hosting’s control panel (usually cPanel) and navigate to phpMyAdmin.
  • Select your WordPress database and export it as an SQL file.

Step 4: Copy Website Files

  • Use the hosting’s file manager to download all your website files.
  • These will compose the complete website in a folder, containing each web file from the old host to your local computer.

Step 5: Upload Website Files

  • Log in to your new web host provider’s panel.
  • Upload all the website files you downloaded earlier.

Step 6: Import the Database

  • On your new hosting account, create a new database.
  • Import the SQL database file you exported earlier using phpMyAdmin on the new host.

Step 7: Update wp-config.php

  • Update the wp-config.php file on your new host with the new database details.
  • These details must include; database name, username, password, and host.

Step 8: Update DNS Settings

  • Change the domain’s DNS settings to point to your new hosting provider. 
  • Please note, that this may take some time to propagate globally (usually 28 hours, depending on your web hosting providers, this may vary).

Step 9: Test Your Website 

Making manual WordPress website migration a choice depends on your specific needs and technical proficiency. If you find it challenging, consider contacting a trustable and value-driven WordPress development company.

Staging Site Migration

A staging site is a replica of your live site where you can test changes before deploying them. This method is ideal for complex migrations or significant website overhauls.

Here’s how you do this migration.

Step 1: Set Up a Staging Site on the New Host

  • Sign up for a hosting plan with your new web host. 
  • First, ensure it offers a staging site feature.
  • Access your hosting control panel or dashboard.
  • Create WordPress staging site using the hosting’s functionality. 
  • This typically involves selecting your domain and creating a copy of your website on a subdomain or a hidden URL. 
  • Follow your hosting provider’s instructions for this step.

Step 2: Backup Your Existing Website

Step 3: Restore the Backup on the Staging Site

  • Access the staging site’s dashboard on your new hosting account.
  • If needed, install a WordPress instance on the staging site.
  • Some hosts such as A2 Hosting, Inmotion Hosting, and WP Engine offer a pre-configured staging environment.
  • Install the same backup plugin you used for the backup on your old site.
  • Then, use the plugin to restore your website from the backup files you downloaded. 
  • Follow the plugin’s instructions to complete the restoration process.

Step 4: Test Your Staging Site

  • Visit the staging site’s URL (usually a subdomain or hidden URL provided by your host) to ensure that your website functions correctly in the new hosting environment.
  • Conduct precise analysis on all pages, links, forms, and functionalities assuring.

Step 5: Update DNS Settings

  • Once you’re satisfied with the staging site and have addressed any issues, it’s time to prepare for the final migration.
  • To point your domain on the right path, update the DNS settings on your new hosting provider.
  • This step may take some time to propagate globally, so be patient.

Step 6: Final Website Migration

  • Access your new hosting account’s dashboard.
  • If required, delete the staging site or remove the subdomain that was used for staging.
  • Ensure that your primary domain is correctly configured to display your website.
  • Double-check that your DNS changes have propagated, and your domain is now pointing to the new host.

Staging site migration is a reliable method to make WordPress sites migrate to a new web host while minimizing risks for non-technoids.

Plugin-based WordPress Website Migration

WordPress plugins offer a convenient and quick method to migrate a website from one host to another. However, always ensure that you choose 100% tested plugins. For successful deployment, follow the plugin’s instructions carefully to avoid any issues during the migration process.

Here are the steps to migrate your site using a WordPress plugin.

Step 1: Choose a Migration Plugin

  • Log in to your current WordPress dashboard on the website you want to migrate.
  • In the WordPress admin area.
  • Go to ‘Plugins‘ and click on ‘Add New.’
  • In the search bar, look for a reliable migration plugin. The popular choices include WP Migrate DB and All-in-One WP Migration plugin.

Step 2: Install and Activate the Migration Plugin

  • Once you’ve chosen a migration plugin, following the standard WordPress plugin installation process – click the ‘Install‘ button next to the plugin’s name.
  • After installation is completed, click the ‘Activate‘ button to get the plugin in use.

Step 3: Create a Backup

  • In your WordPress admin area, locate and access the plugin you’ve installed.
  • Use the plugin to create a backup of your entire website. 
  • This typically includes your website files and database.

Step 4: Download the Backup Files

  • After the backup process is complete, the plugin will generate backup files.
  • Download these backup files to the local computer environment.
  • These files usually include an installer script and a compressed archive of core and site files.

Step 5: Set Up Your New Hosting Account

  • Sign up for a hosting plan with your new web host, ensuring that it meets the WordPress requirements.
  • Access your hosting control panel or dashboard to set up your hosting environment. 
  • Note down the database credentials as you’ll need them later.

Step 6: Upload and Install on the New Host

  • Access the new hosting account’s control panel or dashboard.
  • Use the file manager to upload the installer script and the backup archive to your new host’s server.
  • Access the installer script through your web browser by navigating to the URL where you uploaded it (e.g., http://yourdomain.com/installer.php).
  • Follow the on-screen instructions provided by the plugin to complete the installation process. 
  • This typically involves providing the database credentials we asked you to note earlier.

Step 7: Update Permalinks and Test Your Website

  • Once the migration is complete, log in to your WordPress dashboard on the new host. You can do so by adding ‘/wp-admin‘ at the end of the domain URL.
  • If set to the custom login page then can then would need to conduct a few practices for finding WordPress login URL.
  • Update your permalink settings (if needed) by navigating to ‘Settings‘ → ‘Permalinks‘ and saving the settings.
  • Test your website thoroughly. Ensure that everything is functioning correctly in the new hosting environment. 
  • Also, don’t miss out on verifying links, images, forms, and the complete site functionalities.

Make sure you choose the best plugins after due diligence and consult with experts for custom features.

WordPress Site Migration Operating cPanel/Plesk

Migrating a WordPress website using cPanel involves using its built-in tools. These tools often provide automated migration options, making the process relatively straightforward. Here are the steps to migrate your WordPress website using cPanel:

Step 1: Backup Your Website

  • Log in to your current hosting cPanel.
  • Find and access the backup or file management tool. 
  • The exact location and name of this tool may vary depending on your hosting provider.
  • Create a full backup of the WordPress website including core files and database. 
  • You can typically use options like ‘Full Backup‘ or ‘Backup Wizard‘.
  • Download the backup file on the local computer.

Step 2: Set Up New Hosting Account

  • Sign up for a hosting plan with your new web host.
  • Access the cPanel of the new hosting account.

Step 3: Upload Your Website Backup

  • In the cPanel of your new hosting account, locate and access the backup or file management tool.
  • Upload the backup file you downloaded from your old host to the new hosting server.
  • If you compressed the backup file, make sure to extract it after uploading.

Step 4: Create a New Database on the New Host

  • In the cPanel of your new hosting account, find the database management tool (often labeled as ‘MySQL Databases‘ or similar).
  • Create a new MySQL database, and also a user with the necessary privileges for your WordPress site.
  • Make sure you note the database name, username, and password, as you’ll need them in the next steps.

Step 5: Import the Database

  • In the cPanel of your new hosting account, locate ‘phpMyAdmin‘ or a similar database management tool.
  • Access ‘phpMyAdmin’ and select the database you created in the previous step.
  • Choose the ‘Import‘ option and upload the database backup file from your old host (typically an SQL file).
  • To step into the correct web files, make yourself a bit familiar with the standard WordPress file and directory structure – so that you prevent complexities and web migration downtime.
  • Confirm the import and the database will be occupied with your old site’s data.

Step 6: Update wp-config.php File

  • Using the cPanel file manager, redirect to the root directory of the WordPress installation on a new host.
  • Find and edit the wp configphp file updating database credentials to match the information of the newest database you created.

Step 7: Update DNS Settings

  • If you’re changing hosting providers, updating your domain’s DNS settings to point is most important. 
  • DNS settings ensure that the web has the exact hosting base it belongs to. 
  • This configuration also plays an important role for other integrations such as web mail and IP addresses.
  • DNS propagation may take some time usually 28 hours, depending on your web hosting providers, the timing may vary).
  • Once these procedures are complete you can revisit the web URL and ensure everything is working well.

You may also ask the assistance of your WordPress hosting provider with respect to this method.

Migrate WordPress Site Connecting Web With FTP

Similar to manual WordPress migration, FTP is another manual method involving downloading website files from the old host and uploading them to the new host using an FTP client. Here’s how the process goes.

Step 1: Backup Your Website

  • This backup WordPress site should include both website files and the database, i.e. full backup. 
  • You can conduct this site backup using any method, including via web host, plugin backup, and using c-panel.

Step 2: Set Up the New Hosting Account

  • Sign up for a hosting plan with your new web host.
  • Access the hosting control panel or dashboard of the new hosting account.

Step 3: Download Your Website Files

  • You can download any of the best FTP Client for WordPress users such as FileZilla if you don’t already have one.
  • Open the FTP client and connect to your old hosting server using the FTP credentials provided by your old hosting provider.
  • Once you are connected, navigate to the root directory of the WordPress website on the old host.
  • Select all website files and download them to your local computer. 
  • This will include folders like ‘wp-admin,’ ‘wp-content,’ and ‘wp-includes’, among others.

Step 4: Export the Database

  • Access your old hosting account’s control panel or use ‘phpMyAdmin.
  • Export your WordPress database in the SQL file format.

Step 5: Create a New Database on the New Host

  • In the control panel or dashboard of your new hosting account, find the database management tool (usually called MySQL Databases or similar).
  • Create a new MySQL database with a custom user with the necessary authorities.
  • Write down the database name, username, and password for the next step.

Step 6: Upload Website Files to the New Host

  • Open your FTP client and connect to your new hosting server using the FTP credentials provided by your new hosting provider.
  • Navigate to the root directory of the WordPress website on the new host.
  • Upload all the site files that you downloaded from the old host to the new host.

Step 7: Import the Database

  • Access the database management tool in the control panel or dashboard of your new hosting account.
  • Select the database you created.
  • Choose the ‘Import‘ option and upload the database SQL file that you exported from the old host.
  • Confirm the import to populate the database with your old site’s data.
  • At last, all you need to do is update the wp-config.php file and DNS settings aligning to the new web host configuration.

If you are new to WordPress or programming terms better go for plugin based WordPress web migration or request assistance from professional WordPress development company.

Need assistance with your WordPress website?

FAQs About Migrating WordPress Site to New Host

Will my website be down during the migration process?
While it's possible to minimize downtime, some downtime may occur, especially during large-scale migrations. To reduce this, consider using staging sites for testing and implementing changes gradually.
What is the best time to migrate my website?
It's generally recommended to migrate your website during off-peak hours when traffic is low. This minimizes the impact on your website's performance and user experience.
Will my website's plugins and themes work on the new host?
Most plugins and themes should work seamlessly on a new host. However, it's always a good idea to test them thoroughly after the migration to ensure compatibility.

Let’s Conclude

Migrating a WordPress site to a new host can be a daunting task, but with careful planning and the right approach, it can be a smooth process. By considering factors such as performance, security, and cost, you can choose the best hosting solution for your needs.

Remember to back up your website before starting the migration process. This will ensure that you have a safety net in case of any issues. Additionally, testing your website thoroughly after migration is crucial to identify and resolve any potential problems.

If you need assistance, don’t hesitate to hire WordPress professionals today!

author
Mehul Patel is a seasoned IT Engineer with expertise as a WordPress Developer. With a strong background in Core PHP and WordPress, he has excelled in website development, theme customization, and plugin development.

Leave a comment