Method 1: WP Toolkit migration (recommended for WordPress)
The toolkit can pull a WordPress site directly from another server:- In cPanel, open WP Toolkit.
- Click Install dropdown → Migrate (or the Migration option, depending on version).
- Provide the source site’s details: URL and admin credentials, or FTP/SSH details for the old host.
- Choose the destination domain on your account.
- Start the migration — the toolkit copies files and database and fixes URLs automatically.
Method 2: Manual upload of a local project
If your project is on your own machine:- Export the database from your local environment (phpMyAdmin → Export, or
mysqldump). - Zip the site files (the WordPress folder contents, including wp-content).
- In cPanel File Manager, upload the zip to public_html (or a subfolder) and Extract it.
- Create a database and user in MySQL Databases, then import your .sql file via phpMyAdmin → Import.
- Edit wp-config.php with the new database name, user, and password (host: localhost).
- Update URLs if your local site used a different address:
- WP-CLI over SSH:
wp search-replace 'http://localhost/mysite' 'https://yourdomain.com' - Or set WP_HOME and WP_SITEURL temporarily in wp-config.php.
- WP-CLI over SSH:
- Visit the site and log in; re-save Settings → Permalinks to refresh rewrite rules.
Method 3: Duplicator / All-in-One WP Migration plugins
Plugin-based packages also work well:- On the source site, create the package/export with the plugin.
- On our hosting, install a fresh WordPress via Softaculous, install the same plugin, and import the package.