0+
June 13, 2026
June 13, 2026
WordPress full-site-editing structure — patterns, templates, template parts, global styles, and navigation — lives in the database. Moving some of it from staging to production today means either a full database sync (which is destructive to production-only data like orders, users, and form entries) or tedious manual copy-paste.
SiteCargo packs exactly what you choose into a portable, reviewable bundle and applies it to another site with stable identity, ID remapping, and media handling — never touching the data you didn’t select.
It is currently a WP-CLI tool (an admin user interface is on the roadmap).
wp_block)wp_template)wp_template_part)wp_global_styles)wp_navigation)Only templates/parts that have been customized in the database are exported; unedited theme-file templates already ship with the theme.
This plugin does not connect to any external service, send any data off-site, or phone home. Bundles are plain files on your own server that you move between environments however you like.
sitecargo folder to the /wp-content/plugins/ directory, or install through the Plugins screen.Use WP-CLI to run commands, for example:
wp sitecargo export –all –dir=my-bundle
wp sitecargo diff –dir=my-bundle
wp sitecargo apply –dir=my-bundle –yes
Exported bundles are always written inside wp-content/uploads/sitecargo/; --dir is the folder name, not an arbitrary filesystem path.
WP-CLI is required to use this plugin.
No. SiteCargo is deliberately selective — it promotes specific structure and content and leaves everything else (orders, users, comments, options) untouched. Use a full migration tool when you genuinely want to overwrite a whole site.
No. Applying is idempotent: patterns and navigation are matched by a stable identifier stored in post meta, and templates/parts/global styles are matched by theme and slug. A second apply updates the same items.
Yes. Referenced media is included in the bundle and imported into the target’s media library, de-duplicated by content hash, with the relevant block markup (IDs and URLs) rewritten to point at the target’s copy.
Always run wp sitecargo diff first to preview changes, and keep a backup. This is early (alpha) software.
wp-content/uploads/sitecargo/. --dir is treated as a folder name (path separators and .. traversal are stripped) and can no longer point writes at arbitrary locations on disk or the plugin folder.diff/apply resolve a bare --dir name against uploads/sitecargo/, while still accepting a full path to a bundle copied from another environment.ItzmeKhokan\SiteCargo prefix to avoid conflicts with other plugins and themes.--dir still overrides.diff reports create / update / unchanged per entity.