Before you can deploy content, your WordPress sites need to be paired. Pairing establishes a secure connection between two SirSync installations so they can communicate with each other.
Each site must be paired with the other. During the pairing process, you’ll generate a one-time connection code on one site and use it to establish the connection on the other.
Step 1: Generate a Connection Code
On the site you want to connect:
- Navigate to Tools > SirSync.
- Under This Site’s Connection, click Generate Connection Code.
- Copy the generated one-time connection code.
This code is temporary and is only used when pairing sites.
Step 2: Connect the Remote Site
On the second WordPress site:
- Navigate to Tools > SirSync.
- Paste the connection code into the Remote Connection Code field.
- Select the environment for This Site’s Environment:
- Stage – A staging or development website.
- Production – Your live website.
- Select the environment for the Remote Peer’s Environment.
- (Optional) Enter one or more email addresses to receive deployment notifications.
- Click Save Changes.
SirSync will validate the connection code and securely pair the two websites.
Step 3: Verify the Connection
After the connection is established, the Remote Connection Code field will be replaced with a Remote Connected URL field.
This lets you quickly verify which website is connected without needing to generate another connection code.
If you ever need to connect to a different website, click Disconnect Site to remove the existing connection before pairing a new site.
Understanding Site Environments
SirSync uses the selected environments for deployment history, activity logs, and notifications so you can easily identify which website initiated a deployment and where the content was sent.
For example, if you’re deploying changes from your staging site to your live site, the deployment history will clearly indicate that the deployment originated from the Stage environment and was sent to the Production environment.
Next Steps
Your websites are now securely paired and ready to communicate with each other. You can now begin deploying pages, posts, products, media, and other supported content between your websites.
Continue to Deployments to learn how to push content from one site to another, schedule deployments, and monitor deployment progress.