Congratulation, you decided to create a truly independent WordPress staging and development website with WP Staging.
This is the first step to become a better WordPress developer and site owner and to ensure that none of your site changes will ever break your production website.
Before you create a testing website please think first if you like to make your staging site available from a subdirectory of your production site or if you want to make it available from a subdomain.
Staging site in a subfolder:
Staging site in a subdomain:
Both variants are possible with WP Staging Pro!
Create a Staging Site in a Subfolder
This is the easiest and fastest way to create a testing WordPress website and is the default option which is even supported by WP Staging basic version.
Go to WP Staging > Sites and click on CREATE NEW STAGING SITE
Add the name of the staging site:
This makes the staging site available from the link https://domain.com/development
Exclude Plugins and Tables
Under DB Tables and Files you can include and exclude certain database tables and folders from the cloning process.
This is, for example, useful if you have large tables like ones from web statistic plugins, security plugins or mailing plugins which contains thousands or even millions of rows of data like IP addresses, login attempts, mailing list subscribers which is not really needed on a staging site. Excluding those tables will increase the cloning speed tremendously.
Advanced Settings (WP Staging Pro Only)
This optional section allows you several things like specifying the destination path of your staging site or the destination hostname. It also allows you to clone the production website to another database instead of using the default main database which is used by the WordPress production site.
If you are unsure what this all means leave the default values as they are and click on START CLONING.
In that case, WP Staging Pro will create a staging site in a target subfolder of your production site.
If your production website is located in
/public_html and you label the staging site
development then the testing website will be copied to
If you want to specify the Target Directory of your staging site you likely need to adjust the Target Hostname as well:
For instance, your production site is located in
/public_html and you set the Target Directory to
In that case, you need to adjust the Target Hostname to
You can also clone the production website to a subdomain as long as the path to the subdomain is located on the same server and the live site is able to access this folder.
So in that case just add the Target Hostname to something like https://development.domain.com and set the Target Directory to the specific path on your server.
If you do not tell WP Staging to use a separate database for the cloning process the database tables will be copied to the main database prefixed by the string
wpstgID_ which differents all related tables from the ones of the production website. (where ID is the number of the staging site)
This prefix also makes sure that the staging website is completely independent of the production website. So the WordPress default database object
wpdb has no access to the staging website and vice versa.
If you want a little more safety and separation you can copy the database tables to a complete another database.
To do so activate the checkbox Copy Staging Site to Separate Database and enter the database credentials to the input fields. Make sure that you have created that other database in advanced. WP Staging cannot do that for you, due to database permission restrictions.
When you are done, test the connection by using the Test Database Connection link:
Click on START CLONING and watch WP Staging creating the clone of your WordPress website automatically:
Depending on the size of your website this can take a few minutes or a little longer. When it is done you’ll see the screen below:
From here you can directly open the staging site by clicking on the Open button and you will also get an explanation which tells you that permalinks on the staging site are disabled due to technical reasons.
Hint: If you use Apache web server try to activate again the permalinks on the staging site. This should be working well.
If you like to open your staging site the next time, just go to
WP-Staging > Sites.
You’ll get here all previously created staging sites.
Btw. You can create as many sites as your web space allows.
More useful links:
- Delete a Staging Site
- Push Changes From Staging to Production
- Activate Permalinks on Staging Site
- Skip WooCommerce Orders and Products
- Can not log in to Staging Site