Articles on: Connects

2-Way Sync

InstaWP's sync feature allows you to merge WordPress site content changes between InstaWP Staging sites and staging sites provided by your hosting provider. With 2-way sync, you can synchronize content changes from live to staging and vice versa, ensuring updates like new pages and modifications are reflected across both environments. Any changes made directly to files or database is not visible to our plugin and WILL NOT be synced.

Note: The 2-Way-Sync feature currently supports the following tested plugins and themes. Any plugins or themes using the default Custom Post Types (CPT) for their data will be supported by default, however thorough testing may be required.

⚙️Plugins: WooCommerce, ACF, Bricks Builder & Elementor.
⚙️Themes (Customizer Settings): Astra, Hello Elementor, Twenty Twenty-Four, Twenty Twenty-Three, Twenty Twenty-Two, Twenty Twenty-One & Twenty Twenty.
⚙️Core: All features are supported, except Navigation Menu (coming soon..).

In this documentation, we will explore:

Navigation to Sync Option
Using InstaWP for Staging
Using Hosting Panel for Staging

Let’s get started 🚀

Navigation to Sync Option



Note: We are presuming that you are using the InstaWP connect plugin and have it configured for your site. If not, refer to this Add Connect Plugin to Site document.

Launch your created Staging site WP panel, by clicking on the Auto Login button from Live site's WP admin panel.



Note: If the "InstaWP" option is not available in the WP panel of your Staging site, you must add the InstaWP Connect - 1-click Staging and Migration plugin to your Live site.

Select the Sync (Beta) tab from the navigation bar of your InstaWP Staging tools.



Using InstaWP for Staging



InstaWP allows you to sync changes made on your Staging site, which are then reflected on your Live site without overwriting them.

To Sync changes, you can follow the below steps:

Toggle the Sync button to start recording the changes. For example, here we have added a new page to the staging site.



Here, you will find the list of recorded events (changes) on your Staging site. Click Sync and select destination live site for syncing changes.



You may now see the modifications replicated on the Live site from where you built the staging site. For more information, please refer to the Create staging site document.



Using Hosting Panel for Staging



InstaWP allows you to sync changes from the staging site that is created on your hosting panel to the live site.

Once your live (production) and staging sites are connected. You can follow the below steps:

Note: Both of your sites should show up on the screen in “connected” mode under the Status section.



Note: The user needs to keep the beta mode “On” in able to access the 2 Way Sync feature. For more information, you can refer to Beta mode document.

A new modal window will appear, allowing you to select the staging site which you want to link with the live site.



Note: You can also use InstaWP APIs to link your production and staging sites. For more information, refer to the Link Two Sites Programmatically document.

Now you can make changes to the staging site (make sure the recording is ON) and push the changes to your live (production) site.



💡 Did you know - You can also sync changes from the template's parent site to the content of your template. Learn about Sync template from parent site.

Updated on: 30/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!