Overview
Cloning creates a separate copy of a WordPress website. A staging website is a controlled copy used to test changes before applying them to production.
These functions may require WP Toolkit Deluxe.
Before You Begin
- Create a production backup.
- Confirm sufficient disk space and inodes.
- Create the destination domain or subdomain if required.
- Confirm that the destination does not contain another website.
- Plan how email, payments, scheduled tasks, and integrations will be controlled.
Clone a Website
- Open WP Toolkit.
- Select the source installation.
- Click Clone.
- Select the destination domain, subdomain, or directory.
- Review the destination database settings.
- Confirm the source and destination.
- Start cloning.
- Test the copy.
Protect the Cloned or Staging Website
After creating it:
- Enable password protection.
- Disable search-engine indexing.
- Prevent outgoing customer email where possible.
- Disable live payment processing.
- Review scheduled tasks.
- Disable analytics or mark the environment as non-production.
- Protect personal or confidential data.
- Confirm that external integrations cannot perform real actions.
Test Changes on Staging
Use staging for:
- WordPress updates
- Plugin and theme updates
- PHP compatibility checks
- Website redesigns
- Custom-code changes
- Integration testing
Test both the visible layout and important business functions.
Copy Staging Changes to Production
Before deployment:
- Create a fresh production backup.
- Confirm whether files, the database, or both will be copied.
- Review new production data created since staging began.
- Schedule a maintenance window.
- Confirm the destination.
- Deploy the changes.
- Clear caches.
- Test production.
Warning for Dynamic Websites
Replacing the complete production database may overwrite newer:
- Orders
- Customers
- Membership records
- Form submissions
- Comments
- Reservations
- Posts and pages
- Configuration changes
For dynamic websites, obtain developer assistance or copy only the required components.