Skip links

How to Migrate Your WordPress Website via File Manager and phpMyAdmin

When migrating the website you will need to manually move across the website files and database.

 

Part 1a — Backing up the Website Files

 

1. Log in to your losing host’s cPanel account.

 

2. Under the Files section, click File Manager.

 

3. You want to zip up the folder where your website files are contained. (Most commonly in the public_html folder.) Right click the folder you wish to zip up, then click Compress. Select ‘Zip Archive’ then click Compress File(s).

 

4. Once the folder has been compressed, right-click the compressed zip file, then click Download.

 

Part 1b — Backing up the Database

 

1. Log in to your losing host’s cPanel account.

 

2. Click on phpMyAdmin.

 

3. Select the correct database associated with your website.

 

4. Click Export.

 

5. Click Go and save the file to your computer.

 

Part 2a — Restoring your Website Files

 

1. Log into your new hosting cPanel account.
https://my.dreamithost.com.au/knowledgebase/4777/How-To-Log-Into-cPanel.html

 

2. Under the Files section, click File Manager.

 

3. While in the Home Directory of your account, click Upload. (This will open up a new tab.)

 

4. Upload the zip file that was previously saved from your old hosting account.

 

5. Once completed, go back to the File Manager page, right-click the zip file, then click Extract.

 

6. Click Extract File(s). (This will update any folders with the contents of the zip file. In this case, the public_html folder will be updated with the new files.)

 

Part 2b — Restoring your Database

 

You will need to create a new database so you can import the database file from your old host.

 

1. Log into your new hosting cPanel account.
https://my.dreamithost.com.au/knowledgebase/4777/How-To-Log-Into-cPanel.html

 

2. You will need to create a database. Click here for step-by-step instructions to create a database.

 

3. In cPanel, click phpMyAdmin.

 

4. Click on the database you created, then click Import.

 

5. Click Browse… and select the database file to upload, then click Go.

 

6. Once this has finished importing, you will need to update your WordPress file to read the new name of the database you created. Importing the database only imports the database entries. Click here for step-by-step instructions to view/change which database your WordPress website is referencing.