# Copying a WordPress site: staging, push to live and cloning with Softaculous

https://www.gyrohosting.com/en/knowledgebase/article/wordpress-staging-and-cloning

- **What you will learn**: How to create a test copy (staging) of your WordPress site with Softaculous, try changes there and push them to the live site, and how to clone a permanent copy of the site to another domain.
- **Time**: 10 minutes (depends on site size)

## 1. Staging vs. clone

|  | Staging | Clone |
| --- | --- | --- |
| What it's for | Trying an update, a new theme or a plugin without touching the live site | Opening an independent copy of the site at another address |
| Link to the live site | Linked; when ready, you copy it over with **Push to Live** | No link; they become two separate sites |
| Typical address | `yourdomain.com/staging` | `blog.yourdomain.com` or another addon domain |

Both create a full copy of the files and the database, so they use disk space and a database on your account.

The tools are buttons on the **WordPress Manager by Softaculous** screen, shown when you open your site's row: **Staging** for a test copy, **Clone** for a permanent copy.

![Open your site in WordPress Manager by Softaculous; use Staging for a test copy and Clone for a permanent copy.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-01-en.webp)

> **Info**
> 
> If **WP Toolkit** appears in your cPanel, you can do the same with its **Clone** and **Staging** tools. This guide covers the Softaculous screens.

## 2. Create a staging copy

1. In cPanel, open **WordPress Manager by Softaculous** in the **Software** section.
2. Open your site's details with the arrow icon on its row and click **Staging**.
3. In **Choose Installation URL**, select the protocol (`https://`), your domain and a directory. Type a short directory name (for example `staging`); the copy opens at `yourdomain.com/staging`.
4. In **Database Name**, type a name for the new database (for example `gyroprojestg`). Only letters and numbers are accepted here, no underscores.
5. Tick **Disable Search Engine Visibility**. This keeps the test copy out of search results and avoids duplicate content with your live site.
6. In **Site Name**, enter a name that tells the test copy apart (for example `Gyro Proje (Test)`).
7. Click **Create Staging** and wait without closing the page.

![In the staging form choose the protocol, domain and directory, enter a database name and disable search engine visibility.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-02-en.webp)

1. When it finishes, the test site's address and its dashboard link (`/staging/wp-admin/`) are shown.

![When it finishes, the test site's address and dashboard link are shown.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-03-en.webp)

> **Warning**
> 
> The test copy carries the same users and passwords as the live site. Because it sits at a public address, delete it when you're done, or at least keep its plugins updated along with the live site.

## 3. Work on the staging copy

1. The test copy appears as a separate row in the **WordPress Manager** list (its address ends in `/staging`).
2. Use the **Login** button on that row to open the test copy's dashboard.
3. Make the change you want to try: a WordPress or plugin update, a new theme, a compatibility test with a new PHP version (B34).
4. Test the front end, forms and, if you have them, the cart and checkout.

![The staging copy appears as a separate installation in the WordPress Management list.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-04-en.webp)

> **Info**
> 
> Changes on the test copy don't affect the live site. If something breaks, delete the test copy and create it again.

## 4. Push the changes to the live site

1. Back up the live site first: the **Backup** button on the live site's row, or B36.
2. In **WordPress Manager**, open the test copy's row and click **Push to Live**.
3. Read the warning on the **Default Options** tab: all files of the live site are replaced with those from the test copy, the live database is erased and the test copy's database is imported.
4. To push only some files or tables, use the **Customize** tab.
5. Click **Push to Live** and wait for it to finish.

![To copy changes from staging to the live site, use Push to Live on the staging row.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-05-en.webp)

> **Warning**
> 
> Orders, comments and form entries the live site received after you created the test copy are lost with the default options. On sites that keep receiving data, such as WooCommerce stores, push only files with **Customize**, or make the change at a quiet time (B38).

## 5. Clone the site

1. In **WordPress Manager**, open the row of the site you want to copy and click **Clone**.
2. In **Choose Installation URL**, choose the target protocol and domain. To install the copy at the root of a subdomain (for example `blog.yourdomain.com`), leave the directory box empty. Create the subdomain in cPanel first (B17).
3. Type a new name in **Database Name** (for example `gyroprojeklon`; letters and numbers only).
4. Change **Site Name** if needed.
5. Click **Clone Installation**. The clone appears in the WordPress Manager list as an independent site.

![In the Clone form choose the domain and directory for the copy, enter a new database name and click the clone button.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B37-06-en.webp)

Softaculous updates the site addresses to the new address while copying; you don't need to edit the database by hand.

## 6. Common problems

| Symptom | Cause | Fix |
| --- | --- | --- |
| "Only alphanumeric characters are allowed for the database name" | The database name contains an underscore or another character | Use letters and numbers only (e.g. `gyroprojestg`). |
| Target directory not empty | The directory you chose already has files | Type an empty directory name or clear the directory first. |
| Disk or database limit warning | The copy exceeds your plan's limits | Delete unused backups and copies, or upgrade your plan (A07). |
| The test copy redirects to the live site | A caching or redirect plugin keeps the old address | Clear the cache on the test copy; check the redirect plugin's settings. |
| The clone doesn't open on the subdomain | The subdomain doesn't exist or DNS hasn't propagated yet | Create the subdomain (B17); wait for DNS to propagate. |

## 7. FAQ

**Does a staging copy slow my site down?**

It uses no resources unless someone visits it; it only takes disk space and a database. Delete it when you're done.

**How do I delete the staging copy?**

In WordPress Manager, open the test copy's row and use **Remove**. On the page that opens, check that the directory, database and database user will be removed, and make sure the path ends in `/staging`.

**Is the staging copy kept after pushing to live?**

Yes. You can reuse it for the next change or delete it.

**Can I move a clone to another hosting account?**

A clone works within the same account. To move to another account, take a Softaculous **Backup** and restore it on the new account, or move the files and database by hand (B36).

**Is there a difference between WP Toolkit and Softaculous?**

Both install, copy and manage WordPress. Use whichever appears in your cPanel; don't manage the same site with both tools.

> **Did you know?**
> 
> Trying a new PHP version or a major plugin update on a staging copy first is the easiest way to avoid unexpected downtime on your live site.

## Next step

- B34: Changing the PHP version and PHP settings
- B36: Exporting and importing databases with phpMyAdmin
- B38: Hosting settings and security checklist for a WooCommerce store
