Migrating and pushing data and modifications from your staging website to your production site is easy with WP STAGING | PRO and does not cost you more than a few clicks.
This tutorial explains migrating your site using the WP STAGING | PRO plugin.
Read the instructions below very carefully, and do not miss any step!
- 1 Video: Migrate your WordPress Staging Site to the Production Site
- 2 How to Copy Over the Staging Site to the Production Site
Video: Migrate your WordPress Staging Site to the Production Site
The video below shows how WP STAGING | PRO pushes data from the staging site to the production one.
WP STAGING | PRO can push all media files, the theme, plugins, and database data from a WordPress staging website back to a production site.
Insights: To get a fundamental technical understanding of how WP STAGING moves your Staging Site to the Production site and to learn the differences between files and database data, read the articles below:
If you want to copy the data from the staging site to the production site, you have two options:
You can either repeat the operation you did on the staging site manually on the production site or use WP STAGING | PRO’s database migration feature, which is included in the Push Changes feature.
How to Copy Over the Staging Site to the Production Site
Requirements to push staging site to live site:
- The live site which is in production use, e.g.
- The staging site which you’ve previously created with WP STAGING.
- Plugin WP STAGING | PRO installed on the production site.
- WordPress core version on staging and production site are identical.
Step 1: Backup the Production and Staging Site
I recommend creating a full site backup with WP STAGING | PRO.
To do this, click on Backup & Migration > Create New Backup.
Enter a name and start the backup process by clicking on Start Backup.
Then save a local copy of the backup to your computer via
Actions > Download.
Step 2: Select the Database Tables
Go to your Production Site > WP STAGING > Start / STAGING
If you have more than one staging site, select the one you want to transfer to the production site and click on the Push Changes button.
Click on Database Tables and select all the database tables you want to push from the staging site to the production site.
Note that any table chosen will completely overwrite its pendant on the production site.
If you want to exclude specific data from being overwritten on the production site, unselect the particular database table from the selection.
Check out the link below to learn more about WordPress core tables and find out which data is available in a certain table.
If you have a shop system like WooCommerce, you do not want to overwrite orders and customer data on the production site. In the links below, you find a description of the WooCommerce database tables, which table you need to exclude not to overwrite any shopping transactional data on your production website, and how to export and import WooCommerce orders and user data to your staging site.
Note: If you like to use WP STAGING only for testing plugins and theme files before updating them on the production site, you do not need to push any database tables. Update your staging site’s plugin and theme files using WordPress’s internal automatic plugin updater.
If the updates work well on the staging site, use the Push Changes button, and all plugins and themes are pushed and copied to the production site.
On the other hand, plugin and theme settings are stored in the database of WordPress. Also, database-based operations like creating new posts, assigned menus, putting widgets to a new place, and changing and saving plugin or WordPress-related settings are stored in the database. Installing a new plugin is also a database operation.
So, if you do not want to recreate all settings on the production site, you must also push the database tables.
Step 3: Select the Plugins, Themes, and Media Files
Click on Select Files and choose all plugin, media & theme folders containing the data you want to copy to the production website.
You can also define extra folders you like to move to the production site by adding the full absolute path to the text area.
Step 4: Advanced Options
There are a few extra options that you can use.
- Uninstall all plugins on the production site …
- Delete wp-content/uploads folder …
These options help you ensure that your production and staging site will contain identical files after the push process.
For example, uninstall a specific plugin on the staging site or delete an image. Then you can choose if you want to get this plugin and image deleted on the production site as well.
If you keep these options disabled, nothing on the production site will be deleted, and the particular plugin and image will still be available. In the case of a plugin, the plugin will then be deactivated only.
Step 5: Start the Push Process
Click on Push Staging Site to Live site, and the push process starts.
When the push process is done, reload your website, and you’ll see all the new content on your production site.
Note: WordPress sometimes requires you to log in again after a full push.
That’s it; you are done.