A staging site is a separate testing copy of your existing website. You break things there first, so your real visitors never see the damage.
You can build a WordPress staging site in three ways: through your hosting provider, with a plugin, or by hand.
The sequence is the same on every route.
- Choose a method that fits your hosting plan and your access level.
- Clone the live site into a separate copy.
- Open the staging copy and sign in.
- Restrict access so only you can see it.
- Verify that staging is truly separate from your live site.
Jump to your route:
- Hosting provider route
- Plugin route
- Manual route
Choose a Method to Create Your WordPress Staging Site
Pick the route that matches what you have today. Use the table to decide in under a minute.
| Method | Choose this if | Access required | What to check before starting |
|---|---|---|---|
| Hosting provider | Your current hosting plan includes a staging tool | Your hosting dashboard login | Confirm that your plan tier includes staging |
| Staging plugin | Built-in staging is not available and you can install plugins | WordPress administrator login | Free disk space and PHP memory |
| Manual setup | You can reach site files, databases, and domain settings | File manager or SFTP, database tool, DNS or domain panel | Time, comfort with databases, and a tested backup |
Here is how each route fits.
- Hosting route: Start here if your plan includes staging. Note the split: WordPress.com is one thing, and WordPress hosted with another provider is another. They use different dashboards, so they have separate instructions below.
- Plugin route: Start here if your host has no staging tool and you can install plugins.
- Manual route: Keep this for when you control files, databases, and domain settings.
That is all you need to choose. Next, a few minutes of preparation will save you hours later.
Before You Create the Staging Site
Good staging starts with a safety net. Do these three things first.
- Backup: Take a fresh backup of your live site’s files and database. Do it now, even if your host runs automatic backups. Our hosting plans at Truehost include daily backups, but a backup taken right before you clone is the one you will want.
- Access and capacity: Confirm your permissions, plan eligibility, and free storage for your chosen route. A staging copy is a full duplicate, so it needs roughly as much space as your live site.
- Safety reminder: Do not assume a cloned site is private. Do not assume it is cut off from your live email, payment, and external services either.
This risk is real. WordPress.com’s own documentation says nearly all production data, including configuration settings and API keys, is copied to the staging site. We cover the checks that close these gaps in the final checklist.
Create a WordPress Staging Site Through Your Hosting Provider
This is the fastest route, because the host does the cloning for you. Start with WordPress.com, then move to other hosts.
a) Create a Staging Site on WordPress.com
Eligibility: According to WordPress.com’s documentation, staging sites are available on the Business and Commerce plans. Any administrator on the site can create one. You get one staging site per production site.
Creation steps:
- Open the Hosting Dashboard.
- Select your production site.
- Open the Production dropdown.
- Select “+ Add staging site”.
- Wait while WordPress.com copies your site. This can take a few minutes.
Access steps: Use the same dropdown to switch from Production to the new staging site. From there, open its dashboard or its staging address.
Expected result: The staging address begins with “staging-”, followed by four random characters and your original site address. You cannot edit that address or attach a custom domain to it.
Two details are worth knowing here:
- Search engines are blocked from indexing the staging site by default. A custom robots.txt file can override that.
- If you delete staging and create a new one, the four random characters change.
You are done with creation. Continue to the verification checklist at the end of this guide before you touch anything.
b) Create a Staging Site With Truehost
If your WordPress website is hosted with Truehost, you can create a staging copy through cPanel using WordPress Manager by Softaculous.
Follow these steps:
- Log in to your Truehost account. Open your hosting dashboard and access cPanel.
- Open WordPress Manager. In the cPanel sidebar, click WordPress Manager by Softaculous.

- Select your production website. Find the WordPress installation you want to create a staging copy of.
- Open the staging option. Locate the Staging option in the website’s management settings.
- Configure your staging site. Choose the destination directory or subdomain for the staging copy and enter the required details.

- Create the staging site. Start the process and wait while Softaculous copies your WordPress files and database.
- Access your staging environment. Once the copy is complete, open the staging URL and log in to its WordPress dashboard.
You can now test theme changes, plugin updates, new designs, and other website modifications in staging before applying them to your live website.
Create a WordPress Staging Site With a Plugin
A plugin works on almost any host. We will use WP Staging as the single worked example, so you can follow one clear path.
1) Install and Activate the Staging Plugin
Installation: Follow these steps from your WordPress dashboard.
- Go to Plugins, then Add New.

- Search for “WP STAGING”.
- Find the plugin and click Install Now.

- Click Activate.
A WP Staging menu now appears in your dashboard.
Capability note: The free edition creates the staging copy. Pushing staging changes to the live site is a Pro feature. Pro also adds custom subdomains and separate databases, per the official plugin page.
Creating a staging site and pushing it live are two separate jobs. With the free edition, you do the second one yourself.
The plugin is well trusted. It has over 100,000 active installations and a 4.8 out of 5 rating from 2,470 reviews on WordPress.org.
2) Configure and Create the Staging Copy
Clone setup: Open the WP Staging menu and start a new staging site. Give it a name you will recognise later, such as “staging-test”. The free edition clones into a subdirectory, such as example.com/staging-test.
Copy selection: The next screen shows the database tables and folders to copy. For a complete testing copy, keep the defaults. Only deselect items if you know what depends on them.
Completion:
- Click the button to start cloning.
- Watch the progress bar until it finishes.
- Look for the success message with the link to your staging site.
Large sites take longer. The plugin runs in the background, so your live site stays usable.
3) Open the Staging Site and Confirm Access
Login: Open the staging link. Sign in with your usual WordPress administrator details, because the clone carries your users. If a security plugin blocks you, update WP Staging first. As a last resort, open WP Staging settings on the live site and disable the extra authentication.
Environment identity: Check the address bar. You should see your site address plus the staging folder name. In the dashboard, the admin bar turns orange on the staging site. That orange bar is your signal that you are not on the live site.
Privacy check: Do not assume a successful clone means a private site. The plugin lists login protection and no-index handling, but you should confirm both yourself. We show you how in the final checklist.
A plugin is a solid choice when your host offers no staging. If you need hosting that works well with WordPress, we at Truehost offer plans with free SSL, daily backups, and free migrations.
Create a WordPress Staging Site Manually
This is the advanced option. You will edit files, databases, and settings by hand. Follow every step in order.
We use one example staging address throughout: staging.example.com. Replace it with your own.
a) Create a Staging Subdomain and Separate Directory
Destination: In cPanel, create a subdomain with its own folder.
- Open Domains in cPanel.
- Click Create A New Domain.

- Enter staging.example.com.
- Untick the option that shares your main site’s document root.

- Set a new document root, such as staging.example.com, outside your live site’s folder.
Menu names change between cPanel versions, but the idea stays the same.
Connection: Your domain needs to point to the new subdomain.
- If your DNS is managed in the same hosting account, the record is usually added for you.
- If your DNS is managed elsewhere, add an A record for “staging” that points to your server’s IP address.
Then secure it. Issue an SSL certificate for staging.example.com so it loads over HTTPS.
Access restriction: Protect the folder before you copy real data into it. In cPanel, open Directory Privacy, select the staging folder, and turn on password protection. Create a username and a strong password.
b) Create a Separate Database and Database User
Database setup: Use the MySQL Database Wizard in cPanel.
- Create a new database, such as example_staging.
- Create a new database user with a strong password.
- Grant that user all privileges on the new database.
Isolation checkpoint: Never connect staging to your live database. If you do, every change on staging changes your real site.
c) Copy the Live Site’s Files and Database
Files: Use File Manager or SFTP.
- Compress your live site’s folder into a zip file. Exclude the staging folder if it sits inside.
- Upload or copy the zip into your staging document root.
- Extract it.
Make sure the copy includes wp-content (themes, plugins, uploads), wp-config.php, .htaccess, and any custom files you added.
Database: Open phpMyAdmin.
- Select your live database.
- Click Export, and choose the Quick method with SQL format.
- Select the new staging database.
- Click Import and upload the file.
Consistency: Do not update WordPress, plugins, or themes during this step. Keep every version identical for the first clone, so your tests reflect reality.
d) Update the Staging Configuration and URLs
Configuration: Open wp-config.php in the staging folder. Update the database details:
define( 'DB_NAME', 'example_staging' );
define( 'DB_USER', 'your_staging_user' );
define( 'DB_PASSWORD', 'your_strong_password' );
Next, check the table prefix. The value of $table_prefix must match the prefix of the tables you imported. Confirm it in phpMyAdmin.
URLs: Your database still points to the live address. Replace it with the staging address using a tool that supports serialized data. A plain find and replace can break settings stored in that format.
With WP-CLI, run this from the staging folder. Start with a dry run:
wp search-replace 'https://example.com' 'https://staging.example.com' --skip-columns=guid --dry-run
If the preview looks right, run it again without –dry-run. No SSH access? Install the Better Search Replace plugin on the staging site and run the same replacement there.
Guardrail: These changes apply to the staging copy only. Never run them against your live site or live database.
e) Sign In and Confirm the Copy Loads Correctly
Access: Open staging.example.com in a browser. Then open staging.example.com/wp-admin and sign in.
Basic checks:
- Click through internal links.
- Confirm images and media load.
- Go to Settings, then Permalinks, and click Save to refresh the rules.
If these pass, continue to the final checklist.
Manual staging takes more effort, but you control everything. With our cPanel hosting at Truehost, you get free SSL and a domain you can extend with subdomains. Our Starter plan lists 30 GB of SSD storage and hosts up to 10 websites, so check your storage before you copy.
Verify That Your WordPress Staging Site Is Ready
This checklist is the finish line for all three routes. Do not skip it.
- Correct environment: Confirm the staging address and dashboard identity before you edit anything.
- Live-site separation: Make a harmless, reversible change on staging, such as editing a draft title. Then confirm it does not appear on your live site.
- Private access: Open the staging address in a private browser window while logged out. Confirm you hit the login or password prompt you expect.
- Search visibility: Check indexing protection separately from login protection. In Settings, then Reading, tick “Discourage search engines from indexing this site”. WordPress itself notes it is up to search engines to honor that request, so it is not the same as making a site private.
- External connections: Review copied email, payment, webhook, and scheduled-task settings. Switch payment gateways to test mode and use safe test settings where possible.
- Functional copy: Confirm that pages, images, links, and admin access all work.
Your copy is now ready for testing. Update, break, and fix whatever you need, and your live site stays untouched.
Ready to build on solid ground? We at Truehost give Ugandan site owners fast WordPress hosting, free SSL, daily backups, free migrations, and 24/7 support.
A .co.ug domain starts from USh 113,962 for the first year. Open a domain with us and set up hosting today.