Our Blog

How to Migrate Your WordPress Website via File Manager and phpMyAdmin

Dec 30, 2020

How to Migrate Your WordPress Website via File Manager and phpMyAdmin

Follow these steps 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.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image1 edit 1

 

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).

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image2 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image3 edit

 

Part 1b Backing up the Database

 

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

 

2. Click on phpMyAdmin.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image4 edit

 

3. Select the correct database associated with your website.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image5 edit

 

4. Click Export.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image6 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image7 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image8

 

2. Under the Files section, click File Manager.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image1 edit 1

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image9 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image11 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image11 edit

 

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.)

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image12 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image8

 

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

 

3. In cPanel, click phpMyAdmin.

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image4 edit

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image13

 

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

HowToMigrateAWebsiteViaFileManagerphpMyAdmin Image14 edit

 

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.

#