How do I create a WordPress staging site before updating?
A WordPress staging site is a private copy where you update and test before touching your live site. Dongee WordPress PRO includes staging on every plan; elsewhere, use a plugin or a subdomain copy.
A WordPress staging site is a private copy of your site where you update and test before touching the live one. Dongee WordPress PRO includes staging on every plan (from 6.66 USD/month), plus automatic backups with 1-click restore. Elsewhere, use a plugin or a manual copy on a subdomain. The rule is simple: backup first, then staging, then production.
Updated November 25, 2026 · Dongee Team
What is a staging site and when do you need it?
A staging site (test site) is a duplicate of your website, with its files and its database, that only you can see. There you can break things without your visitors or customers noticing. You don't need it for every small change, but it's worth using in these cases:
- Major WordPress updates, for example when moving from one major version to the next.
- Switching themes or page builders, because it changes templates, styles and shortcodes.
- Premium plugins or WooCommerce and its payment, shipping or subscription extensions.
- Changing the PHP version, which can break older plugins.
- Big design changes, such as a new menu, a new homepage or a different product template.
How do I create the staging site step by step?
- Take a full backup. Before anything else, save your files and your database. WordPress PRO has automatic backups with 1-click restore. On another host, back up your files and export your database before you continue.
- Create the staging copy. On WordPress PRO you create it from the plan's staging tools. If you don't have that option, use a staging plugin or do it by hand: create a subdomain in cPanel (for example, staging.yourdomain.com), copy the files there, import the database into a new database, update
wp-config.phpwith the new connection details and replace the old URL with the subdomain URL. - Block indexing. On the copy, go to Settings > Reading and check "Discourage search engines from indexing this site". If you can, also password-protect the staging site so nobody stumbles on it by chance.
- Turn off outgoing email and real payments. Put your payment gateways in test mode and block or redirect outgoing email. That way the copy won't email your customers or charge their cards.
- Update in order. As a rule, plugins first, then the theme and finally WordPress core. If a critical plugin (such as WooCommerce) recommends a different order, follow its instructions.
- Test with a checklist. Check the homepage, contact forms, the cart and a test payment, login, search, the mobile version and the error log (enable
WP_DEBUG_LOGinwp-config.phpand review thedebug.logfile). - Apply the changes in production. Once everything works, repeat the process on the live site as explained in the next section.
How do I move staging changes to production without losing orders?
This is where most sites break. While you test on staging, your live store keeps receiving orders, sign-ups and comments. If you copy the staging database over the production one, you lose everything that came in during that time: orders, new customers and stock changes.
That's why, on a WooCommerce site, the safest approach is to:
- Repeat the same updates in production, already tested and in the same order, during a low-traffic window and with a fresh backup.
- Upload files only (child theme, adjusted plugins) when the change doesn't touch the database.
- For design changes, export and import only what you need: page builder templates, theme settings or specific pages, never the whole database.
Copying the full staging site over production only makes sense for almost static sites, where no new data comes in while you work.
Plugin, manual subdomain or your host's staging: which is best?
| Method | Effort | Risk | Cost | Best for |
|---|---|---|---|---|
| Staging included with the hosting (WordPress PRO) | Low | Low, with 1-click restore backups | Included in the plan, from 6.66 USD/month | Stores and businesses that update often |
| Staging plugin | Low to medium | Medium: depends on the plugin and the size of the site | Free or paid; some free versions limit pushing to production | Small sites on hosting without built-in staging |
| Manual copy on a subdomain | High | Medium to high if you make a mistake with URLs or databases | No extra cost; uses your plan's storage | Users experienced with cPanel and databases |
| Local environment | Medium to high | Low for the live site, although the server isn't identical | Free | Developers and agencies |
If you're choosing where to host your WordPress site, this comparison of fast and secure WordPress hosting shows what else to check besides staging.
What are the most common mistakes?
- Leaving staging indexed: Google treats it as duplicate content that competes with your live site.
- Sending real emails from the copy: order confirmations or newsletters that reach real customers.
- Overwriting the production database: you lose recent orders and sign-ups.
- Forgetting to delete old staging sites: they take up space and remain as outdated, vulnerable versions.
- Testing only the homepage: failures usually show up in the cart, checkout or forms.
Frequently asked questions
Does staging affect the speed of my live site?
Not directly: it's a separate copy, with its own files and its own database. It does use your plan's storage, though, so delete it when you no longer need it.
How much space do I need?
Roughly the same as your site takes up, counting files and database. Check your plan's storage: on WordPress PRO it's 20, 30, 50 or 70 GB NVMe depending on the plan (Personal, Standard, Premium or Ultimate).
Can I use staging on shared hosting?
Yes, with a plugin or with a copy on a subdomain. The Dongee Startup and Quantum plans of Dongee shared hosting include cPanel to create the subdomain and the database.
What if something goes wrong in production?
Restore the backup you took before you started. On WordPress PRO it takes 1 click, and our 24/7 human support in your language (the platform translates on the fly) can help you check it.
Should I update everything at once?
No. Update in groups and start with what's critical (WooCommerce, payment gateway, page builder). That way, if something fails, you'll know what caused it.
Updating WordPress doesn't have to be scary. Take the backup, test on staging and move to production calmly, without overwriting your store's database.
Comenta lo que quieras
Unete a la charla
Solo ingresa tu email