Clone a Staging Site and Push to Staging Site

It’s a good idea to have a clone of your entire website to test as much as possible on your WordPress site before making any real changes on your production site.

WP STAGING allows you to create a site for testing purposes and is your specialized tool to copy a staging site and all of its data to the production site.

Even better, it also allows you to create a clone of an already existing staging site and allows you to copy this cloned site to the parent clone as well.

This allows you to create a development and staging website beside the production system, a structure that is widely common and used by professional developers all over the world:

This development structure helps you test all the steps from cloning to pushing and make sure there are no errors in that process chain before you repeat the steps on your production website.

How to Create a Dev > Staging > Production Environment

How to clone a staging site:

Since WP STAGING Pro 3.2.4 you can make an existing staging site cloneable with one click:

  1. Login to the staging site
  2. Open WP STAGING > Sites
  3. Click on CLICK HERE and make the staging site cloneable

If you use an older version of WP STAGING, follow the steps below:

  1. ​Go to your production website and clone it. Name this site “Staging.”
  2. Add an empty file named  .wp-staging-cloneable into the root directory of “staging.” Otherwise, you can not clone the staging site!
  3. Log in to your staging website and clone it. Name the clone “dev.”

If you’ve made any of these changes, you can start creating a clone of the staging site by login to

Staging Site > wp-admin > WP Staging > Start

So, for instance, you can name your first staging site “Staging.” Then you go to Staging > wp-admin > WP Staging > Start and label the clone “Development.”

Now you can work on the “Development” site and modify anything there without being worried about breaking anything on your production website.

When you are done, and you like to copy the staging site to the production site:

  1. Log in to your production site, and open WP STAGING.
  2. Push the site “Staging” to the production site.

How to Push the Dev Site to the Staging Site

Login to the staging site > wp staging > sites and PUSH the listed dev site to the staging site.

How to Push the Staging Site to the Production Site

Login to the production site > wp staging > sites and PUSH the listed staging site to the production site.

 

Updated on September 30, 2021