Creating a WordPress staging site to test changes safely
Creating a WordPress staging site to test changes safely
What you'll learn: how to make a copy of your live WordPress site so you can try things without risk.
What's staging?
Staging is a private clone of your live site. You can:
- Try a new theme or plugin without breaking anything
- Test major WordPress updates first
- Make big content changes and review them before publishing
- Hand a draft to a designer or client
When you're happy, you can either copy the changes back to your live site, or just throw the staging away.
Step 1 — Open the Installer
Sidebar → Sites → Installer. You'll see your existing WordPress installs listed.
Step 2 — Create a staging copy
- Find your live WordPress site in the list.
- Click Create staging (or Stage).
- Pick a subdomain for the staging site — something like
staging.yourdomain.com. (The panel can usually create this for you automatically.) - Click Create.
The panel copies the database and files for you. After about a minute, the staging site is live at the URL you picked.
[screenshot here: staging created]
Step 3 — Log in to staging
Visit the staging URL's /wp-admin (e.g. https://staging.yourdomain.com/wp-admin). Use the same WordPress username and password as your live site.
The admin bar will usually show a banner reminding you you're on staging.
Step 4 — Make your changes
Treat it like your live site — install plugins, change themes, edit content. Nothing here affects the live site.
Step 5 — Push changes to live (when you're ready)
Two options:
Push everything
- Sidebar → Installer → click your WordPress install.
- Click Push staging to live.
- Confirm.
The panel copies the staging files and database back to live. Your old live site is automatically backed up first, in case you need to undo.
Push only files (or only database)
Some changes (like new images or a theme tweak) only need files. Some (like new posts) only need the database. Most panels let you push one or the other separately — useful when your live site has new orders or comments you don't want to overwrite.
Step 6 — Delete staging when done
Once you're happy, you can delete the staging copy to free up space and avoid confusion.
Tips
- Don't keep stale staging sites around. They drift further from live and become risky to push back.
- Be careful with the database push — it overwrites recent live data. If your live site is taking new orders or comments, push files only.
- Block search engines. Staging usually has a setting to hide it from Google so the duplicate content doesn't confuse search rankings. Most plugins or WordPress itself can do this.
- Take a manual backup before pushing. Belt and braces.
If something goes wrong
- Staging won't create — you might be out of disk space or have hit your domain limit (the staging subdomain counts).
- Staging works but live doesn't change after push — clear your browser cache and any caching plugin's cache.
- You pushed and broke something — restore from the auto-backup the panel took just before the push. See Restoring from a backup.
Related articles