What is a Staging Site?
A staging site is a private copy of your WordPress site where you can safely test changes — new plugins, theme edits, or major updates — before applying them to your live site.
Method 1 — Using WP Staging Plugin
- Install the WP Staging plugin from the WordPress plugin directory.
- Go to WP Staging → Sites → Create New Staging Site.
- Enter a destination directory (e.g.
staging). - Click Start Cloning.
- The staging site will be accessible at
https://yourdomain.com/staging/.
Method 2 — Manual
- Create a subdomain (e.g.
staging.yourdomain.com) in DirectAdmin. - Copy your WordPress files to the subdomain's public_html.
- Export and import your database to a new database.
- Update
wp-config.phpwith the new database credentials. - Run a search-and-replace in the database to update the URL.
