Staging sites: test changes safely

staging, testing, clone, wp toolkit, plan · 0 found this helpful

A staging site is a private copy of your live website. You change it, check it, and only then apply the changes to the real site. If you break the copy, nobody notices.

Staging is included with the Business and Pro plans.

When to use it

  • Before updating plugins or themes.
  • Before a redesign or a new checkout flow.
  • When a developer needs to try something risky.

WordPress sites

The WordPress section of your control panel builds a copy in a few clicks under Staging and clone. Step by step: Stage or clone a WordPress site. To test updates before they hit your live site, see Smart Updates.

Other sites (static, custom PHP)

Other sites, such as Joomla or a custom PHP site, are staged by hand:

  1. Create a subdomain such as staging.example.ca. See Create a subdomain.
  2. Copy your files with Files → File manager or SFTP. See Browse and edit your files.
  3. Export and import the database. See Export a database and Import a database.
  4. Edit the database settings in the copy's config file.
  5. Password-protect the folder. See Password-protect a folder.
  6. Turn off search engine indexing so Google ignores it.
  7. Test, then repeat your changes on the live site.

Important: Disable email sending, payment gateways, and scheduled tasks on staging, so test orders don't charge cards and test emails don't reach customers.

Developers

For a fuller local, staging, live workflow, see A safe development workflow.

If something goes wrong

  • Staging shows live data: you cloned it, so it holds live copies of customers' data. Protect it.
  • Staging uses live URLs: run a search-replace on the database. See Use WP-CLI.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.