Migrating WordPress using File Manager and phpMyAdmin is as easy as creating a backup and restoring it on our servers. If you can use a WordPress plugin to generate a backup, you should also be able to migrate it using this method. Please feel free to contact support if you need any help.
Step 1: Create a WordPress Backup
Create a backup of your WordPress website that you can restore on our server. Please refer to the following article for step-by-step instructions:
Backup WordPress using File Manager and phpMyAdmin
Step 2: Restore the Backup
Upload the Files:
- Log in to your new hosting account with us.
- Go to cPanel > File Manager > Upload and upload the .zip file. You can also use FTP to upload.
- Move the .zip file inside the [public_html] directory.
- Select the .zip file in cPanel > File Manager.
- Click Extract from the top menu or Right-click > Extract.
- Done!
Note:
We can help you download a large .zip file to your new hosting account with us directly from your old hosting account. Move the .zip file into your WordPress root directory and provide us with a downloadable URL or FTP details to download the file.
Create a New Database:
- Log in to your new hosting account with us.
- Go to cPanel > MySQL Database Wizard.
- Enter a database name and click Next Step.
- Enter a database username and password, and click Create User.
- Select [*] All Privileges.
- Click Make Changes!
- Done!
Note:
Take note of the new database name
, username
, and password
.
Import the Database Backup:
- Log in to your new hosting account with us.
- Go to cPanel > phpMyAdmin > [Select the database] > Import.
- Click Choose File and select the database backup.
- Click Go from the bottom of the page.
- Wait for the "Import has been successfully finished" message to appear.
- Done!
Step 3: Modify wp-config.php
After importing your database, you will need to modify the wp-config.php file with the new database name, username, and password:
- Log in to your new hosting account with us.
- Go to cPanel > File Manager.
- Navigate to [public_html].
- Select
wp-config.php
. - Click Edit from the top menu, or Right-click > Edit.
Locate the following lines:
define( 'DB_NAME', 'olddatabasename' );
define( 'DB_USER', 'olddatabaseuser' );
define( 'DB_PASSWORD', 'olddatabasepassword' );
define( 'DB_HOST', 'olddatabaseserver' );
In the above lines:
olddatabasename
is the database name.olddatabaseuser
is the database user.olddatabasepassword
is the password of the database user.olddatabaseserver
is the database server.Note that the actual values of the database name, user, password, and server can be random.
-
Replace the above values with the database name, username, and password created in Step 2:
olddatabasename
with thenew database name
.olddatabaseuser
with thenew database username
.olddatabasepassword
with thenew database password
.olddatabaseserver
withlocalhost
. - Click Save.
- Done!
Troubleshoot
Please apply the following solutions if the website displays any errors after migration:
Fix errors after migrating WordPress