Create a WordPress staging environment: safely test changes before they go live
A WordPress website should not be tested directly on the live site when important changes are planned. A faulty plugin update, an incompatible PHP version, a new theme or an incorrect setting can, in the worst case, result in visitors seeing a broken website or important functions no longer being usable.
This is exactly what a staging environment is for. A copy of your existing WordPress website is created in a separate area. There you can test updates, design changes, new plugins, PHP versions or error analyses without disrupting the ongoing operation of your live website.
What is a staging environment?
A staging environment is a separate copy of your website. It usually contains the same files, the same plugins, the same theme, the same database and the same settings as your live website at the time it is created.
Typical staging addresses include, for example:
your-domain.ch/staging/staging.your-domain.chtest.your-domain.ch
Visitors to your normal website do not see the staging version. It is used exclusively as a test area for administrators, developers or editors.
Why staging is so important
WordPress consists of many moving parts: WordPress core, theme, plugins, PHP version, database, caching, security functions, forms, shop functions and external services. A change in one area can affect other areas.
With a staging environment, you can reduce risks. You test changes first in a secure copy and only then decide whether they should be transferred to the live website.
Staging is particularly valuable for:
- Plugin updates: Check whether extensions continue to work correctly.
- WordPress updates: Test new versions before using them live.
- PHP changes: Check compatibility with the theme and plugins.
- Theme changes: Test a new design without confusing visitors.
- CSS and code adjustments: Review changes safely.
- WooCommerce shops: Check checkout, cart and payment methods.
- Troubleshooting: Analyse problems without further burdening the live site.
- Relaunches: Prepare major rebuilds.
Staging is not a backup replacement
A staging environment is a test copy, but not a replacement for a full backup. If something goes wrong when creating, editing or restoring the staging version, you still need a separate backup.
Before making major changes, you should therefore always create a backup that includes at least these components:
- WordPress files,
- media library and uploads,
- theme files,
- plugin files,
- database,
wp-config.php,- if applicable,
.htaccess.
Part 1: Create a staging environment with Softaculous
At CURIAWEB, you can copy your WordPress installation into a staging environment via Softaculous. The exact process may vary slightly depending on the cPanel view, but generally follows this pattern.
- Log in to your cPanel.
- Under the Software section, open the Softaculous Apps Installer.
- Click All Installations to display your installed WordPress websites.
- Find the desired WordPress installation.
- Click the staging icon, usually shown as two overlapping squares.
- Select the destination for the staging copy, for example a directory such as
stagingor a subdomain such asstaging.your-domain.ch. - Check the database and installation path details.
- Click Create Staging.
Softaculous now copies the files and database of your WordPress website into the selected staging area. Depending on the size of the website, this process may take some time.
Subdomain or subdirectory?
When creating the staging environment, the question often arises whether a subdomain or a subdirectory is better.
| Option | Example | Assessment |
|---|---|---|
| Subdirectory | your-domain.ch/staging/ |
Easy to set up, sufficient for many tests. |
| Subdomain | staging.your-domain.ch |
Clearly separated and professional, especially useful for larger projects. |
For simple tests, a subdirectory is often sufficient. For larger websites, relaunches or complex projects, a subdomain is clearer.
Protect staging from search engines
A staging website should normally not be indexed by search engines. Otherwise, test content, duplicate content or unfinished pages could become publicly discoverable.
After creation, therefore check:
- Is the staging site password-protected?
- Is search engine indexing disabled under Settings > Reading?
- Is the staging URL not linked publicly?
- Has no XML sitemap of the staging site been submitted to Google?
- Is the staging site not accidentally used in menus or emails?
Part 2: Test changes in the staging environment
After creation, you can log in to the staging website and test changes. Work there as if it were your real website – but without risk to visitors.
Typical tests:
- update WordPress core,
- update plugins,
- update theme,
- change PHP version,
- install new plugins,
- test a new theme,
- check CSS adjustments,
- test child theme,
- test forms,
- test WooCommerce ordering process,
- check performance settings.
Carry out changes in a structured way. Do not change ten things at once if you later want to know what caused an error.
Recommended test checklist
After major changes, you should not only look at the homepage. Check several central areas of your website.
- homepage,
- important subpages,
- blog or knowledgebase,
- contact form,
- menu and footer,
- mobile display,
- login and dashboard,
- media and images,
- SEO titles and metadata,
- cookie banner,
- tracking or analytics, if used,
- WooCommerce cart and checkout, if available.
Also test with different roles if several user groups are involved, for example administrator, editor, customer or member.
Use staging with particular care for WooCommerce
For WooCommerce shops, staging is particularly valuable, but also particularly sensitive. While you are working in the staging environment, new orders, customer accounts, stock levels, vouchers or product reviews may be created on the live site.
If you later transfer the complete staging database to the live site, such new live data may be overwritten.
Particularly critical are:
- new orders,
- new customer accounts,
- new product reviews,
- stock levels,
- vouchers,
- subscriptions,
- payment status,
- form entries,
- support tickets or bookings.
Part 3: Transfer changes to the live website
Once you have tested all changes and the staging version works correctly, you can transfer it to the live website. In Softaculous, this function is often called Push to Live.
Typical process:
- Open the Softaculous Apps Installer in cPanel.
- Go to All Installations.
- Find your staging installation.
- Click Push to Live.
- Carefully check the displayed options.
- Create a manual backup of the live site beforehand.
- Start the push process only when you are sure.
Depending on the Softaculous version, different options may be available, for example full overwrite or selective transfer of individual files or database tables. Check the options carefully before starting the process.
What exactly does “Push to Live” mean?
“Push to Live” means that changes from the staging environment are transferred to the real website. Depending on the selected option, only files, only database areas or the entire installation may be transferred.
This can be useful for:
- theme adjustments,
- plugin updates,
- design changes,
- new templates,
- CSS changes,
- relaunch preparations.
It can be risky for:
- active WooCommerce shops,
- websites with new form enquiries,
- membership sites with active user accounts,
- booking systems,
- forums or community websites,
- websites with new daily content.
In such cases, it should be planned precisely which data may be transferred to the live website.
After the push: check the live website
After transferring the changes, you should test the live website immediately. Do not rely solely on the process having been technically completed.
Check:
- homepage loads correctly,
- important subpages work,
- menu and footer are correct,
- contact form sends correctly,
- SSL works,
- images are displayed,
- mobile view is correct,
- admin area is accessible,
- cache has been cleared,
- SEO settings have been preserved,
- WooCommerce checkout works, if available.
After the push, clear all relevant caches: WordPress cache, server cache, CDN cache and browser cache.
When should staging be used?
A staging environment is not only useful for developers. Regular website operators also benefit from it when they want to test changes in a controlled way.
Use staging especially for:
- major WordPress updates: Especially for version jumps.
- plugin updates: Especially for WooCommerce, forms, SEO plugins or security plugins.
- PHP version changes: Test compatibility with theme and plugins.
- theme changes: Prepare a new design.
- child theme adjustments: Check PHP and CSS changes.
- performance optimisation: Test caching, minification and database optimisation.
- troubleshooting: Reproduce and analyse errors.
- relaunch: Prepare a new structure or new layout.
When is staging less suitable?
Staging is very helpful, but not perfect for every situation. If live data changes constantly, you must work with particular care.
Staging requires special planning for:
- active shops,
- membership portals,
- booking systems,
- online course platforms,
- forums,
- websites with many form enquiries,
- news portals with daily publication.
In such cases, the push time should be planned and, if necessary, a maintenance window should be used.
Staging and data protection
A staging environment may contain personal data because it is a copy of the live website. Depending on the website, this includes contact enquiries, user accounts, orders, comments or customer data.
Therefore check:
- Is the staging site publicly accessible?
- Is it password-protected?
- Who has access to the staging environment?
- Are real customer data needed or can they be anonymised?
- Are emails from staging accidentally sent to customers?
- Are payment providers in test mode?
- Is tracking disabled on staging?
Staging and email sending
A common mistake: the staging website sends real emails. This can happen if WooCommerce, contact forms, newsletter plugins or user notifications remain active.
Therefore check in staging:
- Do contact forms send to real recipients?
- Does WooCommerce send order emails?
- Do newsletter plugins send messages?
- Are admin notifications triggered?
- Are SMTP plugins active?
- Should an email logging or mail blocker plugin be used?
For shops and membership sites, it often makes sense to disable or redirect email sending in staging.
Staging and performance tests
A staging environment is well suited to testing performance optimisations. These include caching, image optimisation, lazy loading, CSS and JavaScript optimisation or plugin clean-ups.
However, please note: staging results are not always exactly identical to the live website. Different caching rules, disabled services or search engine blocking can influence measurement results.
Nevertheless, test:
- loading time before and after changes,
- PageSpeed Insights,
- Lighthouse,
- mobile display,
- forms and JavaScript functions,
- Core Web Vitals-relevant elements,
- cache behaviour.
SEO and staging
Staging protects SEO when changes are tested in advance. Faulty redirects, broken templates, missing metadata or defective menus can be detected before they become publicly visible.
Check before the push:
- Have SEO titles and meta descriptions been preserved?
- Do permalinks work?
- Are there no unwanted noindex settings on the live site?
- Is the live sitemap generated correctly?
- Do internal links work?
- Are there no staging URLs in live content?
- Have redirects been tested correctly?
Especially important: Make sure that a noindex setting from staging is not accidentally transferred to the live website.
GEO: use staging for better content quality
GEO, meaning Generative Engine Optimization, benefits indirectly from staging. You can check content, structure, FAQ areas, internal links and technical output before changes go live.
Staging helps with GEO because you can control:
- whether content is clearly structured,
- whether headings are logically organised,
- whether FAQ areas are displayed correctly,
- whether internal links work,
- whether important content is not hidden by errors,
- whether pages load quickly and stably,
- whether structured data remain correct.
Common staging mistakes
- No backup before push: Errors are difficult to reverse.
- Staging is indexed: Test pages appear in search engines.
- WooCommerce data overwritten: New live orders are lost.
- Real emails from staging: Customers receive test messages.
- Staging URLs remain in live content: Links point to the test environment.
- Cache not cleared: Old versions remain visible.
- Only homepage tested: Errors on subpages go unnoticed.
- noindex accidentally transferred: Live site is excluded from search engines.
- Payment provider not in test mode: Test orders can trigger real payments.
Recommended procedure
- Create a backup: Before every major change and before every Push to Live.
- Create staging via Softaculous: In cPanel via the Softaculous Apps Installer.
- Protect staging: Disable search engine indexing and restrict access.
- Test changes in a structured way: Check updates, theme, plugins, PHP or code individually.
- Test forms and shop: Especially contact forms, checkout, emails and user functions.
- Check SEO settings: Verify noindex, permalinks, metadata, sitemap and internal links.
- Plan the push carefully: Especially for shops and websites with new live data.
- Test the live site after the push: Check frontend, backend, mobile view and important functions.
- Clear cache: Include WordPress, server, CDN and browser cache.
- Keep staging up to date: For longer projects, regularly synchronise staging with live data.
Frequently asked questions about the WordPress staging environment
What is a staging environment?
A staging environment is a test copy of your website. There you can check changes before they become visible on the live website.
Can I use staging without programming knowledge?
Yes. Via Softaculous in cPanel, you can create a WordPress staging copy with just a few clicks. For complex shops or migrations, caution is still advisable.
Is staging the same as a backup?
No. Staging is a test environment. A backup is a safeguard for restoration. You should use both.
What does Push to Live mean?
Push to Live transfers changes from the staging environment to the real website. Files and database content may be overwritten in the process.
Can I use staging with WooCommerce?
Yes, but with particular care. While you are working in staging, new orders may be created on the live site. These must not be accidentally overwritten during the push.
Should staging be indexed by Google?
No. A staging site should not be indexed. It contains test content or copies of your live content and should be protected from search engines.
Why do I still see old content after the push?
A cache layer is probably still showing old data. Clear WordPress cache, server cache, CDN cache and browser cache.
Can CURIAWEB Support help with staging?
Yes. CURIAWEB Support can assist you with questions about creating staging, the push process or the technical assessment. Complex migrations may be chargeable depending on the effort involved.
Professional WordPress hosting with staging
With a staging environment, you can safely test changes before they go live. CURIAWEB WordPress hosting provides you with a stable foundation with Swiss server location, fast NVMe infrastructure, SSL included and convenient management via cPanel and Softaculous.
View WordPress hosting with stagingDo you have questions about the push process? Our CURIAWEB Support will be happy to guide you through your first staging project.