WordPress – Host Transfer
In this chapter, we will learn how to transfer a WordPress site to a new hosting platform.
Here, we are using Hostinger web hosting to demonstrate the transfer process.
Follow the steps below to transfer your WordPress site to another host:
Step (1) − Take a backup of your WordPress files and export the database. (This process is explained in detail in the chapter WordPress – Backup & Restore.)
Step (2) − Log in to your cPanel and click on MySQL Databases, as shown in the following screen.

Step (3) − Create a new database and MySQL user, as shown in the following screen. The page includes the following fields:
- MySQL Database Name − Enter the name of your new database.
- MySQL Username − Enter a username for the database.
- Password − Set a password for the database user.
- Password Again − Re-enter the same password for confirmation.
After filling in all the fields, click on the Create button.
Step (4) − You can now view the newly created MySQL database, user, and host, as shown in the following screen.

Step (5) − Click on the + symbol.
Step (6) − Click on phpMyAdmin.
Step (7) − On the phpMyAdmin page, click on the Import tab.
Step (8) − Click on the Choose File button to select the backup file from your system, and then click on the Go button to import it.
Step (9) − After the import, you can view the database tables, as shown in the following screen.
Step (10) − Upload your WordPress files using a file transfer protocol (FTP) tool like FileZilla, as explained in the Restoring WordPress Files section of the chapter WordPress – Backup & Restore.
Step (11) − Edit the wp-config.php file as described in the same Restoring WordPress Files section.
Step (12) − In the Website section of Hostinger, click on Auto Installer.
Step (13) − You can now see the uploaded WordPress files. Click on the URL link to access your site, as shown in the following screen.
Step (14) − You can now view the WordPress login page.