There are several ways to migrate a WordPress website. You can easily migrate your websites using the WordPress migration tool or a WordPress migration plugin. You can also migrate them manually.
Migrate WordPress Using Migration Tool
- Go to cPanel > WordPress Manager by Softaculous > Remote Import.
- Click "From Remote Server".
- Enter the following details:
Source
(Enter details of the website you are migrating)Domain Name: yourdomain.com
(Without http:// or https://)Server Host: hostname.server.com
(IP or hostname of the remote server where the website is hosted)Protocol: FTP
Port: 21
FTP Username:
FTP Password:
FTP Path:
Path to the document root on the remote server, e.g.,/applications/public_html
Installation Directory:
If you have installed WordPress in a subdirectory, enter the subdirectory path, e.g.,/public_html/blog
. Otherwise, leave it empty.
Hint:
To find outFTP Path
, log into your old hosting account via FTP and navigate to the WordPress install directory. This path is your FTP path, e.g.,/applications/public_html
or/public_html
Destination
(Your domain details on our server)Choose Protocol: https://www.
Choose Domain:
In Directory:
Leave it empty for the primary domain or if you have only one domain in your account. This is the directory path where WordPress files will be stored.
Hint:
You can find theIn Directory
path from cPanel > Domains. - Click Import.
- Wait for the import to complete and the success message to appear.
Once complete, the progress bar will reach 100%, and the message Import Completed will appear. - Done!
Note:
- If you have a
wp-salt.php
file, manually transfer it to the WordPress Installation Directory from the old server. - Some FTP server configurations are not compatible with the migration tool.
You can utilize other articles in the migration section to migrate from those servers.
Migrate WordPress Using Plugin
If you do not use the WP migration tool above, you can utilize a migration plugin to migrate WordPress. Below are some of the popular migration plugins:
- Migrate Guru
https://wordpress.org/plugins/migrate-guru
- Duplicator
https://wordpress.org/plugins/duplicator
- WPvivid Backup
https://wordpress.org/plugins/wpvivid-backuprestore
- All-in-One WP Migration
https://wordpress.org/plugins/all-in-one-wp-migration
Make sure to uninstall the plugin after the migration is complete.
Note:
These are third-party plugins. MechanicWeb does not endorse their use and is not affiliated with them.
SSL Error When SSL Is Not Installed
If you do not have SSL installed, you will likely get an SSL error (e.g., your connection is not private) when accessing the site. Please refer to the below article to install SSL:
Install an SSL certificate
Access a website when SSL is not installed
Troubleshoot
Please apply the following solutions if the website displays any errors after migration:
Fix errors after migrating WordPress