Sync keeps the words on your sites together. Posts, pages and the images they use move between WordPress installs through a private Git repository you control. You edit where you like. Sync works out what changed on each side, merges what it can and asks you about the rest.
It is an add-on for StaticScope. StaticScope builds the static copy of a site and publishes it. Sync only moves content between WordPress installs. The two jobs stay separate on purpose, and that is most of what makes Sync safe.
What Sync is
Sync is a shared ledger. Every install connected to the same repository and branch reads the same documents, merges them against its own copy and pushes back what it changed.
It does not connect your sites to each other. There is no direct link between installs and no credentials passed between them. Two consequences follow. A site can sync without reaching the other site, as long as both can reach the Git host. And everything that travels is inspectable: plain JSON and ordinary files, not an opaque dump.
The document model
Four ideas cover the whole system. You do not need to know the JSON to use Sync, but knowing these makes the screen much less mysterious.
Items
Every post and page becomes a JSON document with a stable UUID. The document holds the title, content, excerpt, slug, status, date, parent, menu order, categories and tags, author login, featured image and the media it references. Content is stored as block markup with portable tokens where uploads URLs and links to other synced posts would otherwise sit. The same post produces the same bytes on every site.
The document is the unit of merge: a file with an identity that survives export, import and a change of domain.
The base
Each install keeps a base: the exact version of each item it last agreed with the repository. This is not a snapshot of the database. It is a per-item record plus the commit it was read at. Because it is per item, one post can fast-forward while another sits in the review queue. It is also what lets Sync tell “you changed this” apart from “they changed this” without guessing.
Environments
Every install writes an environment record: WordPress and PHP versions, the theme and a hash of its files, active plugins and versions, the permalink structure and the public post types. Sync compares these records and turns the differences it cannot fix into “Worth a conversation” cards. Your sites are not expected to be identical, but someone should know when they are not.
Attachments
An image has two parts: a small JSON record on the content branch, and the file itself on a parallel media branch. The file is addressed by its Git blob ID, so the same photo on two sites is one blob rather than two copies. The uploads path is preserved so URLs keep their shape.
Why it is not a database copy
A database copy moves post IDs that mean something only on the source site, rows from options and plugin tables, user records and serialised settings that assume a particular install. Sync moves a small subset in a portable shape. It leaves the rest behind. Two sites with different plugin sets, different user tables and different upload paths can still share the same fifteen pages, because none of those elements are in the document.
A database copy also cannot merge. Copy staging over production and one side wins; the other side’s work disappears. Sync compares three versions of each item: the base, this site’s copy and the repository’s copy. Changes to different fields merge without asking. Changes to the same field wait for a person. That is slower than copying the database, and the only answer that does not throw work away.
What a team gets
- Editing on more than one install, each with its own WordPress.
- Drafts, pending, private and future posts travel. Autosaves do not.
- Featured images and referenced media travel with the post that uses them.
- Links between synced posts resolve to each site’s own permalink, including after a slug change. Query strings and anchors survive.
- Authors are matched by login. If the account does not exist here, the post is held by a fallback user until someone creates it.
- Deletions are conservative. A delete in the repository moves the local post to trash. A local trash removes the post from the repository.
- A review queue for collisions, with native WordPress diffs and per-field choices.
- “Worth a conversation” cards for differences Sync should not fix: theme code, plugin versions, permalinks, post types.
- Attribution. Each version names who saved it.
- A build preflight that refuses a preview built without a clean sync, or older than the content.
What Sync does not do
It does not publish. Sync changes WordPress content. Publishing replaces the live site with a static build, and that is StaticScope’s job. A sync can succeed and the live site can still be old until you build and publish. The preflight exists to stop that happening by accident.
It does not copy options. No site title, tagline, logo, favicon, reading settings, plugin settings or permalink structure. Those are environment facts. Differences become conversation cards rather than changes, because silently copying them would break as often as it fixed.
It does not act as a backup. The repository holds current documents, not a restorable copy of a site. It has no user accounts, no options, no plugin data and no revisions from your site. Keep proper database and uploads backups. Disconnecting or uninstalling does not touch the repository.
- Custom post types do not sync. Neither do menus, widgets or navigation.
- Users, roles and capabilities do not sync.
- Theme and plugin files, and any PHP, never travel.
- Comments, form entries, revisions, unreferenced media and Site Editor templates, template parts and global styles stay where they are.
Private means private. The repository holds drafts and private posts, so a public repository is a leak. Sync cannot tell a public repository from a private one. That check is yours.
When Sync is the right tool
- You run more than one install of the same site: production plus staging, or two editors who each work on a local copy.
- Content is written in WordPress and published as a static site. Sync moves the writing; StaticScope moves the files.
- Most changes touch different posts, or different paragraphs of the same post.
- You want a review step for the times they do not, and you are willing to resolve a conflict before anything else pushes.
- You want draft and private content available on more than one install without handing out database access.
- A sync every 15 minutes is soon enough. Nothing here is real time.
When it is not
- You need real-time co-editing. Sync is an explicit action or a cron run, and the other side only sees the result afterwards.
- Your content is mostly custom post types, page-builder global templates or menu structure. None of that syncs.
- The two installs are meant to be identical down to settings and users. Use a migration tool or a database copy instead.
- You need a CDN or a full media library mirror. Sync moves referenced files at up to 25 MB each. It is not a delivery network.
- You need an audit trail or point-in-time restore. Git history is not a site backup; use backups.
- Your host cannot give you a private Git repository over HTTPS. SSH is not supported.
Next
- Set up Sync: repository, token, first connection and automatic sync.
- How a sync runs: the order of operations and what the counts mean.
- Multiple editors and staging: how peers collaborate without stepping on each other.