How to Create a WordPress Staging Site (4 Ways)
A WordPress staging site is a private copy of your live site where you can test updates, new plugins, design changes or a PHP version update without affecting visitors. The easiest way to create one is with your host’s one-click staging tool. If your host does not have one, a staging plugin or a local copy on your computer works too.
Below are four ways to set up staging, from easiest to most hands-on, followed by the safety steps most guides skip: keeping staging out of Google, stopping it from sending real emails, and pushing changes back without losing new orders or comments.
Which Staging Method Should You Use?
| Method | Best for | Skill needed |
|---|---|---|
| Your host’s staging tool | Most sites on managed WordPress hosting | Beginner |
| A staging plugin | Hosts without built-in staging | Beginner to intermediate |
| A local copy on your computer | Developers and design work | Intermediate |
| A manual copy on a subdomain | Full control, or when nothing else is available | Advanced |
Way 1: Use Your Host’s Staging Tool
Most managed WordPress hosts include staging. You click a button, the host copies your files and database to a private URL, and when you are done you push the changes back. This is the method I recommend, because the host handles the copying, the URLs and the push in a way that is tested on its own servers.

Look for Staging, Staging & Dev or Environments in your hosting dashboard. Some examples:
Liquid Web by Nexcess
How-To WP is hosted with Liquid Web by Nexcess, and its plans include staging sites. In the current portal, open your site and choose Staging & Dev. If the site has no copy yet, the screen shows an Add Development Environment option. We may earn a commission through this link at no extra cost to you.

Nexcess explains the process step by step in its staging guide.
Kinsta

Kinsta offers one-click staging environments in its MyKinsta dashboard, including the option to push only files, only the database, or both. See Kinsta’s staging documentation.
To create a staging copy in MyKinsta:
- Click Sites and open your site.
- Click the environment name at the top, for example Live, and choose Create new environment.
- Select Standard, click Continue, then choose Clone an Existing Environment and pick your live environment.
- Give the environment a name and click Continue. After a few minutes, switch to it from the same environment menu.
When you are done, open the staging environment, click Push Environment and choose the push to your live site. Under Files and Database you choose what goes live, so leave the database out if you only changed themes, plugins or code. Kinsta backs up the live site before the push.
WP Engine

WP Engine gives each site separate production, staging and development environments that you can copy between from the User Portal.
To add a staging environment:
- In the User Portal, go to the Sites page and click your site.
- Click Add environment next to the environment name at the top.
- Enter a name, choose Staging as the environment type and finish the setup. WP Engine emails you when it is ready.
- Use the Copy environment tool in the User Portal to copy your production site into staging. Later, use the same tool to copy staging back to production.
Each site can have only one staging environment, so check whether yours already has one before you add it. A copy does not include WP Engine settings such as redirect rules, SSL certificates and Web Rules, so set those up separately.
If you are choosing a host and staging matters to you, my WordPress hosting guide compares the options.
Way 2: Use a Staging Plugin
If your host has no staging tool, a plugin can create the copy for you. Plugins work in one of two ways, and the difference matters:
- Same-server staging creates the copy on your own hosting account. It is free or cheap, but it uses your server’s resources and disk space.
- Cloud staging creates the copy on the plugin company’s servers. It does not load your server, but usually needs a paid plan.
WP Staging

WP Staging creates a copy of your site in a subfolder of your hosting account. After activating it, open WP Staging in the admin menu, start a new staging site, choose which tables and folders to include and start cloning. Pushing changes back to the live site is a feature of the paid version.
BlogVault

BlogVault is a backup service that can create a staging copy on its own servers and merge changes back to your live site.
WP Time Capsule

WP Time Capsule is another backup plugin with staging. It lets you choose which files and database tables to push back.
Migration plugins such as Duplicator are not staging tools, but you can use them to copy a site to a subdomain and then follow the safety steps below.
Way 3: Work on a Local Copy
A local copy runs on your own computer, so nobody else can see it and you can test without a network connection. Local is a free app that runs WordPress sites on Windows, macOS and Linux. Export your site with a migration or backup plugin, import it into Local, and test there.
A local copy is ideal for design and code work. It is less useful for testing anything that depends on your live server, such as caching, the PHP configuration or email delivery, because your computer works differently from your host.
Way 4: Create a Staging Site Manually
If you are comfortable with hosting control panels and databases, you can build staging yourself on a subdomain:
- Create a subdomain such as
staging.example.comin your hosting control panel, with its own folder. - Copy the files. Copy everything from your live site’s folder to the subdomain’s folder, using the file manager or SFTP.
- Copy the database. Create a new, empty database and database user, then export the live database from phpMyAdmin and import it into the new one.
- Point the copy at the new database. Edit
wp-config.phpin the staging folder and changeDB_NAME,DB_USERandDB_PASSWORDto the new database, andDB_HOSTtoo if your host gives the new database a different server. Keep the same$table_prefixas the live site, or WordPress will not find the copied tables. If you skip this step, the staging site will write to your live database. - Replace the URLs. Change every occurrence of the live address to the staging address in the copied database. Use a tool that handles serialized data, such as
wp search-replacein WP-CLI or a search-and-replace plugin. Editing the database by hand breaks serialized settings. - Apply the safety steps below before you start testing.
For example, with WP-CLI in the staging folder:
wp search-replace 'https://example.com' 'https://staging.example.com' --all-tables --skip-columns=guid --dry-run
wp search-replace 'https://example.com' 'https://staging.example.com' --all-tables --skip-columns=guid
Run the first command to preview the changes, then the second to apply them. The --skip-columns=guid part leaves each post’s GUID (its permanent ID) unchanged, as WordPress recommends when you change a site address. Manual staging has no “push to live” button, so you repeat your tested changes on the live site yourself.
Safety Steps for Every Staging Site
Whichever method you use, do these before you start testing:
- Keep it out of search results. Password-protect the staging site, and tick Settings > Reading > Discourage search engines from indexing this site. Password protection is the reliable part; the checkbox alone does not stop every crawler.
- Stop real emails. A copy of a store or membership site can email real customers. Disable outgoing email on staging or route it to a test inbox with an SMTP or mail-logging plugin.
- Switch payments to test mode. Put payment gateways such as Stripe or PayPal into sandbox mode, and pause scheduled tasks such as subscription renewals.
- Check the copy. Click through key pages, forms and features to make sure everything copied correctly before you test changes.
Pushing Changes Back to the Live Site
Pushing staging back to live is the riskiest step. If you push the whole database, anything that happened on the live site since you made the copy is overwritten. On a busy blog that means new comments; on a WooCommerce store it means orders and customers.
- Take a fresh backup of the live site immediately before pushing.
- Push only files when you have only changed themes, plugins or code.
- For stores and membership sites, avoid pushing the full database. Repeat settings and content changes on the live site by hand, or use a tool that lets you choose specific tables.
- Push during a quiet time and check the live site straight afterwards.
If you would rather have someone else handle updates and testing before changes reach your live site, take a look at my WordPress maintenance plans.
Frequently Asked Questions
Where is my WordPress staging site?
With host staging, it is usually on a separate temporary URL listed in your hosting dashboard. Plugin staging often lives in a subfolder of your site, such as example.com/staging. A manual copy lives wherever you created it, usually a subdomain.
Does a staging site hurt SEO?
Only if search engines can index it, because it then competes with your live site as duplicate content. Password protection prevents that.
Yes. Some shared hosts include staging, often through tools such as WP Toolkit or Softaculous. Otherwise, use a staging plugin or a local copy.
How do I publish a staging site?
Use your host’s or plugin’s push feature, after taking a backup of the live site. Read the section on pushing changes above first if your site takes orders or registrations.
