How to Create a WordPress Staging Site (4 Easy Ways)

Updating a WordPress website can be more complicated than you’d think. Usually, publishing a new page or post isn’t a problem. But if you’re updating WordPress components or making major design or functionality changes, you run the risk of breaking your website. The best way to avoid this problem is by using a staging site.

With a WordPress staging site, you get a safe environment where you can test any changes you want to make. Once you’re satisfied that everything is working correctly, you can then move (or ‘push’) those changes from the staging website to a live environment.

In this article, we’re going to break down what staging sites are and how they work. We’ll then discuss the pros and cons of using a staging environment, and show you how to create your own. 

What is a WordPress staging site?

The concept of a WordPress staging website is simple: you make a copy of your site and use that to test any changes you want to make. Fortunately, your staging website isn’t accessible to the public. This means that any updates won’t be reflected on the original website until you decide to ‘push’ those changes.

‘Pushing to production’ is a software development term that means moving a project from its testing environment to a public one. After you push your staging site to production, visitors will be able to see the updates you made.

a staging environment set up for a WordPress site

Sometimes, updating plugins, themes, or WordPress itself can lead to issues throughout your website. The goal of using a staging website is to help you prevent those situations — you get the chance to make changes in a risk-free environment.

Additionally, if an update causes an error, you can troubleshoot and then push the corrected site to production. Your visitors will be none the wiser. While not every WordPress website uses staging environments, we highly recommend taking advantage of this tool.

What are the differences between a WP staging site and a test site?

Typically, all new software goes through multiple stages before you see a finished product. These stages include:

  1. Development
  2. Quality assessment
  3. Staging
  4. Production

In web development, this means that staging websites are almost ready for publishing. If you’re using a staging environment, you likely already have a live site, and you’re using that environment to test minor changes.

A test website, on the other hand, is a blank canvas that you use to test completely new designs or functionality to see how they operate. Typically, when developers are working on a website, they use a staging environment to test small pre-approved changes or updates to ensure they work before pushing them to the live world.

This might sound like a complicated process. Still, if you’re running a WordPress website for your business, it’s essential that you try and minimize any errors that can affect the user experience. 

The bottom line is that any time you make significant changes to your website, you run the risk of coming across errors. If you have a dedicated testing and staging process in place, you can greatly reduce those risks. 

The pros of creating a staging site for WordPress

You might assume that there are very few downsides to using a WordPress staging website. But if you’ve never used one before, you should know that it can be a bit complicated. So before we talk about how to create a staging environment, let’s go over the pros and cons of using one. Here are the pros of a staging site:

1. You can update WordPress safely

If you’ve been using a Content Management System (CMS) for a while, you might have encountered situations where running updates caused errors on your website. Those errors usually show up due to compatibility issues, and can be a big source of headaches. This is especially true if your website relies on a specific plugin or theme for key functionality.

Ultimately, minor issues can have a severe impact on your site. Therefore, WordPress itself warns that you should fully back up your website before updating.

an update available in the WordPress dashboard

If you run a website for a business, any downtime from errors can scare away visitors and negatively affect your revenue. By using a staging website, you can ensure that the updates you make won’t break anything. That way you won’t be showcasing your mistakes to your audience.

2. You have more freedom when making changes to WordPress

You might sometimes be hesitant to make design or functionality changes to your website. If your site works well and looks good, redesigning layouts, adding new features, or changing themes can be scary. 

Of course, sometimes these changes are necessary. You’ll need to be careful, though, because even the smallest tweak can cause problems.

Additionally, if you’re planning to update your entire site, you don’t want people browsing through a mix of updated and old designs — this can be a jarring experience! With a staging website, you can make all your changes upfront. That way, you don’t have to worry about visitors seeing half-finished designs or pages.

Once you’re ready to publish the complete new version of your website, you might be able to push it to production with only a few clicks. But it’s important to note that this will depend on the type of staging environment you’re using.

3. Creating WordPress staging websites is simple

There are several ways to create a WordPress staging website. The approach you use will depend on your web host and the method you feel most comfortable with. Here are four common ways to create a staging environment:

  1. Create one through your web host. Some web hosts enable you to create staging websites using their control panel.
  2. Make one manually. Depending on your web host, you should be able to set up subdomains to which you can copy your site. Then, use those copies as staging websites.
  3. Use a plugin. Some plugins enable you to set up copies of your site on a subdomain or with backups that you can import to other sites.
  4. Use a local WordPress development tool. Local WordPress development tools let you create websites that you can only access from your computer. These ‘local’ environments are perfect for staging purposes.

If you have access to staging functionality through your web host, it’s definitely the easiest approach that you can take. That’s because web hosts typically also include features that enable you to push staging sites to production in a simple step or two.

pushing a staging site live

WordPress staging plugins are another great way to set up this type of environment. On the other hand, most ‘staging plugins’ are primarily backup tools that offer staging functionality as an extra. This means there are few (if any) plugins with staging functionality that you can use for free.

Explore the benefits of Jetpack

Learn how Jetpack can help you protect, speed up, and grow your WordPress site. Get up to 70% off your first year.

Explore plans

The cons of using a staging site for WordPress

1. Staging functionality usually isn’t free

A lot of web hosts don’t offer staging functionality, particularly if you’re using a budget hosting plan. Usually, staging tools are reserved for managed WordPress hosting, which means you might need to extend your budget a bit if you want this feature.

The good news? Sometimes you can find managed WordPress web hosts that cost less than $10 per month for a basic plan. If your current host doesn’t offer staging, you might want to reassess your budget and consider switching to a host that does.

As far as plugins go, there are a lot of WordPress backup tools that offer staging functionality. The problem is that the vast majority of those plugins only offer staging tools with their premium licenses. 

You can use backup plugins to create copies of your site and upload them manually to a subdirectory. That process works perfectly, but it also requires you to do everything manually.

Overall, if you plan to use a staging website, your best bet is to sign up for a WordPress web host that offers that functionality. In most cases, managed WordPress web hosts also offer a broad range of additional perks that are well worth the money. 

2. Updating your website takes longer

Updating a WordPress website can be very straightforward. Depending on what changes you want to make, it can be a simple matter of opening the Block Editor, making a few updates, and publishing them. On that same note, it usually only takes a few minutes to update a full roster of plugins and themes.

update available for WooCommerce

When you add a staging website into the mix, updates take longer overall. Testing every change you want to make before publishing it means you’ll need to plan updates well in advance.

Furthermore, if you want an update to go live on a specific date, you’ll want to set aside at least a few hours or days for testing. The bigger the update, the longer the testing period should be.

The solution to that problem is to know when to use staging websites and when not to. Here are some scenarios when it makes sense to use a WordPress staging site:

  • You’re planning a major redesign of your website
  • You want to test a new feature before it goes live
  • You’re switching from one theme to another
  • You’re replacing a plugin with an alternative
  • You’re updating multiple plugins and themes at once

You don’t need to use a staging website for minor changes like publishing posts or updating your site’s content. But any time you’re planning to make a change that can impact your site’s functionality, that’s when using a staging environment can pay off.

How to create a WordPress staging site 

There are several ways to create a WordPress staging website. In this section, we’re going to walk you through each of them, starting with the most straightforward options and then moving to the more involved, manual approaches.

1. Create a staging website with your hosting provider

Some hosting providers offer built-in staging functionalities. It’s a common feature, and a major selling point for managed WordPress web hosts, in particular. Here are some WordPress-friendly web hosts that offer staging functionality:

  1. Pressable: WordPress hosting from WordPress experts at Automattic, the creators of All plans come with staging functionality.
  2. SiteGround: This web host offers some of the most affordable managed WordPress plans on the market, all of which include staging tools. 
  3. Kinsta: This is a WordPress web hosting service geared towards sites that require high performance. All of its plans include staging tools.
  4. WP Engine: WP Engine also caters to websites that require advanced development tools and top performance. All plans come with staging functionality.
  5. Flywheel: This WordPress web host is a great option for agencies and it enables you to create staging sites with ease.
  6. Bluehost: If you’re planning to use Bluehost, keep in mind that staging tools are only available with their managed WordPress hosting plans.

It’s also important to note that each web host implements staging tools differently. To give you an example, Kinsta enables you to select any website and switch between live and staging environments.

switching between live and staging environments in Kinsta

When you switch to staging, Kinsta will automatically set up a new environment for you. In other words, it’ll create a full copy of your website for you to make changes to.

creating a staging environment with Kinsta

Once the staging environment is set up, you can access it just as you would your regular website. When you’re ready to push updates to production, you can do so from your hosting control panel.

Overall, if you choose any of the web hosts that we mentioned above, you should have an easy time creating staging websites. The best web host for you will depend on the type of plan you need, the price, and the user interface.

2. Use a WordPress staging plugin (or a backup plugin)

A lot of popular WordPress backup plugins also enable you to create staging copies of your website. To show you how these plugins typically work, we’re going to walk you through the process of creating a staging site and pushing it to production using WP Staging.

Since you can create multiple staging copies of your site using sub-directories, this plugin can work with any host. First you’ll need to install and activate the plugin. Then, you can jump right in and create a staging copy of your site.

To do so, simply navigate to your WordPress dashboard, then go to WP Staging → Staging Sites. Next, click on Create New Staging Site.

creating a staging site with a plugin

The plugin will ask you what parts of the database to clone, as well as which files the staging website should include. By default, the plugin will select everything. That way, you get a carbon copy of the website for staging purposes — we recommend that you keep these default selections.

Then click on Start Cloning, and WP Staging will show a command line interface where it’ll display progress as it creates the staging website.

plugin creating a staging website

When the process is complete, the plugin will display instructions on how to access the staging site. Follow those steps.

Once you log in, you’ll see a branded WP Staging page instead of the regular WordPress login form. Note that any administrator account can access the staging copy of the website using their credentials.

login page for a staging site

When you’re ready to push the changes that you’ve made, you can return to the original website and go to WP Staging → Staging Sites. You’ll see a list of any staging websites that you’ve created, each with a drop-down menu including options for deleting it, copying it, or pushing it to production.

If you’re not using a dedicated staging solution, you can still create a staging site using a backup plugin like Jetpack Backup

To do this, you’ll need to create a full backup of your website and import it to a local environment or a subdirectory/subdomain with your web host. Once you import the backup, you’ll have a fully working copy of your original site in an environment where you can run tests. 

You can then make any changes that you need and create a copy. This will be a new backup with those updates included. 

At this stage, you can use your backup plugin to import the new copy to the original website. This will override all of your existing content, which works out the same as pushing a staging site to production.

While this process may get the job done, it requires lots of extra work. So if you know you want to use staging functionality on a regular basis, it might be worth your time to choose a staging-specific plugin or a web host that offers built-in tools.

3. Use a local WordPress staging environment

There are a lot of ways to set up local WordPress websites. Some managed web hosts go as far as to offer dedicated tools for creating local WordPress environments. Two great options are DevKinsta and Local by Flywheel.

These tools are perfect for staging websites if you have access to full backups. That means you may still need a WordPress backup plugin in conjunction with them.

While the process will vary somewhat depending on your chosen tool, you’ll start by creating a backup of your live site and importing it into a local environment. Note that you’ll also need to install the same backup plugin on both sites. 

After importing a backup to your local website, you can use it as a staging environment. Then, when you’re ready to push the changes to production, you usually have two options.  

The first is to create a full backup of the local website and import it to your live site (as we did in Method Two). Alternatively, you may be able to push the site directly to production through your local WordPress development tool, depending on which web host you use.

If you’re a paying user of Kinsta, Flywheel, or WP Engine, these local development tools become full-blown staging tools. Therefore, they’ll likely give you the option to push your site live, allowing you to skip the manual backup.

4. Create a WordPress staging site manually

If you don’t want to pay for staging functionality, you can always create an environment manually. To do so, you’ll need to set up a subdomain or a subdirectory through your web host, install WordPress on it, and import a full copy of your website. Once the copy is up and running, you can use it as a staging environment.

The process of creating a subdomain or a subdirectory will vary depending on your web host. If you use shared hosting, you probably have access to a cPanel account. In that case, you can go to Domains → Subdomains and create a new directory.

creating a subdomain in cpanel

Next, check cPanel to see what options it offers for installing WordPress. Typically, you’ll have access to Softaculous or the WordPress Toolkit. Both options enable you to install WordPress using an intuitive setup wizard.

setting up a WordPress site with WordPress Toolkit

After installation, you can import a full backup of your live website. The subdomain or subdirectory may be accessible by the public, but that shouldn’t be a problem unless you share the address.

Additionally, you’ll need to remember to update your staging site’s permalink structure so it matches that of your live site. To do so, go to Settings → Permalinks and select the structure that matches your original site’s.

updating WordPress permalinks

To make your life easier, we also recommend that you discourage search engines from crawling the staging website. That way, you’ll avoid potential penalties for duplicate content, and having users find the staging website through results pages. 

You can do this by going to Settings → Reading and clicking on the option that says Discourage search engines from indexing this site.

changing search engine settings in WordPress

Once you’re done using the staging environment, you’ll need to create a backup and import it to your live website. Then you can go ahead and either delete the staging subdirectory/domain or leave it for the next time you need it.

What to do after you push from staging to a live environment

You may run into the following issues when pusing from a staging to a live or production environment: 

  • Not all content transitioned over
  • Specific parts of your website are not working
  • The website is inaccessible

In most cases, any errors you encounter after pushing from staging to production are caused by the failure to do a complete overwrite. If you’re importing a backup, it needs to include both your site’s database and all WordPress files, so that it completely replaces your existing installation.

Unfortunately, some web hosts struggle when it comes to importing large files, which can cause problems if you set up staging websites manually. So if you run into an error while importing a backup, you’ll need to start again from scratch to ensure that you’re not missing any key files.

Even if you don’t encounter any issues while pushing from staging to production, it’s still a good idea to give your website a full checkup when the process is finished. You’ll want to make sure links are working, every page loads correctly, and key features still function properly. If everything looks good, you can put away the staging website until the next time you need it.

Using a WordPress staging website to test updates

Staging functionality is a game changer when it comes to updating your website. With a staging site, you can avoid making changes that end up causing minor or even serious site errors. Depending on your web host, you might already have access to the tools you’ll need.

Let’s recap the four ways you can quickly create a staging website on WordPress:

  1. Create a staging site through your hosting provider.
  2. Use a WordPress staging (or backup) plugin.
  3. Use a local staging environment.
  4. Create a staging website manually.

Backups play a crucial role in creating most WordPress staging websites. If you’re looking for a tool to help you do this, check out Jetpack Backup, which offers automatic backups in real-time!

This entry was posted in Security. Bookmark the permalink.

Simon Keating profile
Simon Keating

Simon has worked in marketing and product development for over 10 years, previously at HubSpot, Workday, and now Automattic (Jetpack). He has a varied education, with a degree in chemical engineering and a masters in computer science to his name. His passion is helping people and their businesses grow.

Explore the benefits of Jetpack

Learn how Jetpack can help you protect, speed up, and grow your WordPress site. Get up to 70% off your first year.

Explore plans

Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum
  • Enter your email address to follow this blog and receive news and updates from Jetpack!

    Join 112.5K other subscribers
  • Browse by Topic

  • %d