How to Clone a WordPress Website in cPanel?
Cloning a WordPress website creates an exact copy of your site — useful for creating staging environments, testing updates, or backing up before major changes. SKPHost makes this easy using Softaculous in cPanel.
Method 1: Clone via Softaculous
- Login to cPanel → Softaculous Apps Installer.
- Click the WordPress installation you want to clone.
- Click the Clone icon (two overlapping squares).
- Set the clone destination:
- Clone URL: Choose a subdomain (e.g.,
staging.yourdomain.com). - Clone Directory: Set the folder (e.g.,
staging).
- Clone URL: Choose a subdomain (e.g.,
- Click Clone Installation.
Softaculous will copy all files and databases to the new location automatically.
Method 2: Manual Clone via File Manager + phpMyAdmin
- Copy all WordPress files from
public_htmlto a new folder. - Export the database via phpMyAdmin.
- Create a new database and import the exported SQL file.
- Edit
wp-config.phpin the new folder to point to the new database. - Update site URLs in the database using the SQL query:
UPDATE wp_options SET option_value = 'https://staging.yourdomain.com' WHERE option_name IN ('siteurl','home');
Tip: Always test updates on a staging clone before applying them to your live site to prevent downtime and data loss.
If you continue to face issues, please open a create a request.
