Search Knowledge Base by Keyword

How To Manually Migrate A WordPress Installation

You are here:
Share:

There may be instances in which you will need to manually migrate a WordPress installation on your own, but if so, it is a very easy process and we will make every step clear and easy to follow.

 

Quick Version: First, you will export/backup the existing site. Then, you will then recreate it on the new host and import it.

 

Detailed Instructions: We will be detailing this for how it would be done in the cPanel environment, but the steps are essentially the same for any hosting platform.

 

How To Backup Your WordPress Installation

Step 1:  Connect via FTP to the host you are moving from and download the site files to a new folder for the backup (this should include the wp-content, wp-includes,  and wp-admin folders as well as the other files in the main directory).

 

Copying WordPress site files in FTP

 

Step 2:  At the current/original host, login to cPanel and go to PHPmyAdmin:

 

 

Step 3:  Now locate your database (the database name is stored in the wp-config.php file if you need to locate due to having multiple databases), click on the database name, and then click the Export option:

 

Export Database in PHPmyAdmin
 
After clicking Export, you should just leave the default settings, and click Go, this will download your database locally as a .SQL file that will be saved to your computer.

 

How To Prepare For Migration On The New Host

Step 1:  Add the domain to your hosting (if on a Hostwinds VPS, creating a new cPanel account for the domain, or add as an Add-On Domain via cPanel)

 

Please review Creating an Addon Domain for further information if needed

 

Step 2:  Use the MySQL Database Wizard in cPanel to create the database and user for the WordPress installation (make sure to copy your database name, database user name, and user password, you’ll need this later to update your wp-config.php file)

 

MySQL Database Wizard

 

How To Import Your WordPress Installation

Step 1:  Connect via FTP and upload your site files to the appropriate directory for the domain

Step 2:  Open PHPmyAdmin and use the Import option to import your database backup(using the file you generated when exporting the database earlier in PHPmyAdmin)

 

import database in phpmyadmin

 

Step 3:  Edit the wp-config file with the new database details

Step 4:  Don’t forget to update your nameservers!

 

If any questions throughout this process, please reach out to us via live chat or submit a ticket so that we can help.

 

Related Articles


Share: