Skip to main content

Staging and development copies

Markdown

A staging or development copy of a site uses the cloud without taking one of the places of the licence. There is nothing to buy and nothing to ask support for: a licence comes with one staging copy for each of its sites.

Addresses that count as staging​

A site is a staging copy by itself when its address:

  • starts with staging., staging- or a numbered staging2., or with stage., dev., test. or local.
  • ends with .local, .test, .localhost or .staging
  • is localhost or an address on your private network
  • is a staging address of a host such as WP Engine, Kinsta, Pantheon, Cloudways, Pressable, GoDaddy or InstaWP

A .dev domain is a live site like any other.

Setting one up​

  • A copy of the live site with its database, made by the staging tool of your host or a migration plugin, connects by itself soon after its first page load. Open the Licence page of the plugin on it to have it connect at once.
  • A new install: enter the key of the licence on the Licence page of the plugin and press Activate.

The Licence page then shows Staging copy, with limits beside the status, and in your account the site has a Staging badge among the sites of the licence.

A staging copy connects with a site key and secret of its own. Messages, typing and who is online on the staging copy never reach the live site, and the other way round, even when both have the same database and the same users.

The limits of a staging copy​

A staging copy is for testing, so the cloud works on it with limits:

  • 25 people online at once. Anyone above that still gets their messages, without realtime delivery.
  • 5 viewers of a live stream.

Within those limits it works as the live site does, calls and push notifications included.

A staging copy the cloud has not heard from in 30 days frees its place. It takes the place back the next time it connects, if the licence still has one.

A copy at another address​

A copy of your site at an address that does not count as staging, such as shop-test.example.com, asks on its Licence page what it is:

  • The site moved here: it keeps its cloud data, and its old address stops using the licence.
  • A separate site: it takes a place on the licence.
  • A staging copy: it takes no place, and has the limits above.

Until you answer, it works as a staging copy. In your account, the page of the licence asks the same question beside the site, and there you can also turn any site into a staging copy with Make it a staging copy, and count one again with Count it as a site.

A host or agency that makes many copies can answer for every copy of a site at once, with a line in its wp-config.php. The value is staging, move or separate:

define( 'WORDPLUS_SITE_COPY', 'staging' );

More staging copies​

When a licence has all the staging copies it can have, the Licence page says so. Ask for more from the Support page of your account, or deactivate a staging copy you no longer need on the page of the licence.