How To Manually Migrate A WordPress Installation
Quick Navigation Links
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).
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:
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)
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)
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)
Step 3: Edit the wp-config file with the new database details
Step 4: Don’t forget to update your nameservers!
- Installing WordPress using Softaculous
- How To Create A User In WordPress
- What Is The Migration Process?
- Hostwinds Migration Policy