複製STAGE 網站 / Push to Stage

A few things to take care of:

  • Uninstalling WP Staging will not delete any staging site. In that case, install WP Staging again and delete the staging site by following this article.
  • Before you are going to delete a staging website it’s recommended to create a full backup of your production website first.
  • If you get an error message and can not delete the staging site try to delete it manually.

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.

如何產生一個 Dev > Staing > Production 環境

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.”

如何 Push Dev 網站上 Staging 網站

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

如何 Push Staing 網站上 Production 網站

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

如何複製 Staging 網站

If you like to clone a staging site created with WP STAGING, you first need to tell WP STAGING that the cloned staging site is allowed to be cloned.

You can follow one of the two options to do so:

  • Create an empty file named .wp-staging-cloneable and add it into your staging site’s root folder using a file manager plugin or FTP.

Alternatively, you can create a little modification in the database table wpstg(int)_options of the staging site:

  • Open PhpMyAdmin and look for the option_name wpstg_is_staging_site in the table wpstg(int)_options which belongs to the staging site.
  • Set this value to false or delete it at all:

As always, please make a full database backup before you are going that route and changing anything in the database!

If you’ve made any of these changes, you can start creating a clone of the staging site by going 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 name the clone of 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, log in to your production site, and open WP STAGING. There you can push the site “Staging” to the production site.