Linux 软件免费装
Banner图

getSync – Staging to Live Content Sync

开发者 mariosmode
更新时间 2026年10月5日 19:06
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

migration publishing staging deploy content sync

下载

1.0.1 1.0.0

详情介绍:

Most "staging to live" tools copy the entire database - all or nothing. getSync does the opposite: it lets you publish a single post, page or custom post type from one WordPress site to another, bringing everything attached to it along for the ride. Write and review an article on your staging site, then click Send to Production. getSync packages the item, its media, custom fields, categories and tags, and recreates it on your live site over an authenticated, signed connection. Push the same item again later and it updates the existing copy instead of creating a duplicate. getSync is completely free: every feature and unlimited pushes, in one plugin. What it does Designed to be safe getSync never writes directly to your database - it only uses standard WordPress functions, the same ones the editor uses. Incoming syncs are off by default and can be disabled instantly. Items arrive as drafts unless you choose otherwise. Failed media transfers never empty existing fields, existing translation links and term data on the live site always win, and ambiguous first-push matches create a new item instead of guessing. Security note: content arriving from the staging site is filtered through WordPress's HTML rules unless the sync user has the unfiltered_html capability (administrators and editors on single sites). If your staging site is not fully trusted, use a lower-privilege sync user, define DISALLOW_UNFILTERED_HTML, or enable the gtsync_force_kses filter - then even a compromised staging site cannot push script tags into your live pages. The sync user's role on the live site decides what a push may do, exactly as if that user made the same edit in wp-admin: publishing needs publish rights, files need upload rights, new categories need the right to manage them, and assigning another author needs the right to edit others' posts. An Editor is the usual choice. Site structure and design (templates, global styles, navigation menus) and WooCommerce orders are never written by a push. On the staging site, only users who may publish an item can push it. getSync only talks to the live site you configure. It sends no data anywhere else and makes no calls home.

安装:

  1. Install and activate getSync on BOTH sites: the staging site where you write content, and the live site that receives it.
  2. On the live site, open getSync > Settings and choose "Live site". Tick "Accept incoming syncs", enter your staging site's address under "Only accept syncs from", click "Generate new shared secret" and save. Then pick or create a user with the Editor role and add an Application Password on that user's profile.
  3. On the staging site, open getSync > Settings and choose "Staging site". Enter the live site address, that username and the Application Password, paste the shared secret (use "Copy" on the live site), save, and click "Test connection".
  4. Edit any post or page and use the getSync box: "Preview changes", then "Send to Production".
If saving the settings shows a "403 Forbidden" page or message, your server's firewall blocked the form - enter the staging address without https://, or ask your host to allow it. "Test connection" explains any other problem in plain words.

屏幕截图:

  • One click on "Send to Production" and the article is live, with a link to it.
  • The same article on the live site, with its image, category and tags.
  • Settings on the staging site: choose which site this is, enter the live site details once, and "Test connection" confirms the pairing in plain words.
  • The activity log shows every push, preview and incoming sync.

升级注意事项:

1.0.1 Clearer settings screen with plain-language error messages, and a fix for the "Test connection" button. 1.0.0 The plugin was renamed to getSync. Install it on both sites - settings and synced-item links from earlier versions move over automatically - then deactivate and delete the earlier plugin. 0.9.9 The live site now checks the sync user's role before writing anything. If pushes start failing with a permission error, give the sync user on the live site the Editor role. Update both sites together. 0.1.0 First release.

常见问题:

Does it copy the whole database?

No. getSync moves one item at a time, with its media and taxonomies. It never touches unrelated content or settings.

Will pushing the same article twice create duplicates?

No. Each item remembers where it came from, so a second push updates the existing copy.

Does it transfer SEO data or WooCommerce products?

Yes - both are built in. SEO data syncs for Rank Math, Yoast SEO, All in One SEO and SEOPress; WooCommerce products sync with variations and attributes.

Does it work with Elementor or other page builders?

Elementor works: the design data travels, URLs are rewritten, embedded image references are remapped to the target's media library, and Elementor's CSS is regenerated on arrival. Builders that store everything in the post content (classic editor, Gutenberg) work too. Beaver Builder and Oxygen are not supported yet.

Does it support Polylang?

Yes - post language and translation-group linking sync (an existing language assignment on the target is never changed). Term languages are not synced yet. WPML is also supported, including term languages and a one-click group push.

Is there a limit on how many items I can push?

No. getSync has no push limit and no paid version - every feature is in the free plugin.

Is there a file size limit?

Yes. Files travel inside the push request, which costs several times their size in server memory, so files larger than 32 MB (less on servers with a low PHP memory limit) are not sent. The preview and the push result name each skipped file, and the activity log records it - upload those files to the live site by hand. Developers can change the limit with the gtsync_max_file_bytes filter (on both sites).

Does it push theme or plugin files?

No. getSync only moves content, never executable code.

更新日志:

1.0.1 1.0.0 0.9.9 Permissions release. The receiving site now checks what the sync user is allowed to do, the way wp-admin would, instead of trusting every signed push. 0.9.8 Multilingual correctness release from the same QA audit. Monolingual sites are unaffected by all of it. 0.9.7 Safety release from an internal QA audit. Every change below prevents a way live content could be lost, duplicated or silently changed. 0.9.6 0.9.5 0.9.4 0.9.3 0.9.2 0.9.1 0.9.0 Hardening release based on an independent three-way code review (correctness, security, API usage). 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.3.2 0.3.1 0.3.0 0.2.0 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0