WordPress content sync
Build it locally, push only the content, keep the live edits
Moving finished pages from a local or staging copy to the live site usually means a full migration that overwrites whatever changed there since. GoBuildWP Pro pairs the two sites and lets your AI agent push posts, media and a few settings in batches, after a dry run that names every post edited on the other side.
Pro 1.15.0 on both sites, Signed pushes over HTTPS, Pricing
Representative session. Ability names and behaviour match GoBuildWP Pro 1.15.0; the pages and counts are an example.
Pair, preview, push
The receiving site decides what it accepts
The code is made on the site that receives, usually the live one, and it fixes the post types, media and settings any later push may carry.
content-sync-codeOn the receiving site: a one-time pairing code, valid 5 to 30 minutes, that fixes what pushes may carry.
content-sync-pairOn the sending site: redeems the code. The two sites exchange a random secret over HTTPS and store it encrypted.
content-sync-previewA dry run of one batch: create, update, unchanged or conflict per post, and which media files the receiver lacks.
content-sync-applyWrites a previewed push on the receiver: missing media, rewritten media URLs and ids, then posts and settings.
content-sync-unpairDeletes a pairing and its secret. It cannot be undone; pair again with a new code.
What travels
Two presets and a hard exclusion list
| Preset | Carries |
|---|---|
| content | Pages and posts, with the media they use |
| local-to-live | Adds reusable blocks, templates, navigation, Elementor templates and 14 allowlisted reading, permalink and date settings |
| Never sent | Users, passwords, authors and wp-config |
How pushes are protected
- Every push is signed with the shared secret, timestamped and carries a single-use nonce.
- The secret is stored encrypted, with AES-256-GCM, and is never shown by any ability.
- Pairing and pushes need HTTPS with a certificate that verifies, and no redirects.
- A receiver whose safety profile is read-only refuses pushes.
- Every post, file and setting a push writes is one ledger row on the receiver, so the whole push undoes there in one call.
Other ways out
Content as files, or the whole site as HTML
When the other end is not a WordPress site, two more Pro kits take the content somewhere else.
Content mirror to git
content-mirror-export writes posts as JSON files, one per post, that stay byte-identical when nothing changed, so a repository diff shows only real edits. content-mirror-preview and content-mirror-apply bring edited files back in, field by field.
Static HTML export
static-export-start and static-export-step fetch published, unprotected pages as a visitor sees them, copy the CSS, scripts, images and fonts, make links relative and build a ZIP: up to 500 pages, 2000 files, 20 MB per file and 200 MB in all.
Limits
What a push leaves alone
Content sync moves content, not a whole site. Plugins, themes, users and the database outside the posts it names stay where they are, so a site migration is still a job for a migration or backup plugin.
- Both sites need GoBuildWP Pro.
- A post edited on the receiver since the last push is a conflict. It is skipped and reported unless you name it to overwrite.
- Gallery id lists are not remapped to the receiver's media ids.
- Terms missing on a mirror import are left out, never created.
- A static export's link lasts 15 minutes and the export is deleted after 24 hours. On Nginx and OpenLiteSpeed only the random folder name protects the files until then.
- Forms, search and comments cannot work in a static copy.
Related
Handing the site over
FAQ
WordPress content sync questions
Can I push changes from a local site to the live one?
Yes. Make a pairing code on the live site, redeem it on the local copy, and preview a push. The local-to-live preset carries pages, posts, media, templates, navigation and a short allowlist of settings. The live site must answer over HTTPS with a certificate that verifies.
What happens if someone edited the live page meanwhile?
The preview marks that post as a conflict, and apply skips it and reports it unless you list it to overwrite. Nothing edited on the receiver is replaced silently.
Is user data copied between the sites?
No. A push never sends users, passwords, authors or wp-config, and the pairing fixes which post types, media and settings it may carry.
Can I undo a push?
On the receiving site, yes: each push is one ledger group there, and rollback-change undoes it. Unpairing, on the other hand, cannot be undone.
Can I export the site as static HTML?
Yes, as a ZIP of the published, unprotected pages with their assets and relative links, ready for any static host. Drafts and password-protected content are never included, and dynamic features like forms stop working.
Preview your next push before it lands.
Pair staging with live, run a preview and read the conflicts. Nothing is written on either site until you apply it.