CargoTide – Copy Page to Another Site

By ShoreZella

0+ active installationsVersion 1.0.0

Copy a WordPress page, post or product to another site with every image it uses. Read a dry run of what will change before anything is written.

Description

You built a page on a staging or local site and now you want it on the live one. Copying the whole database would take the live site’s orders and comments with it, and the built-in exporter leaves the images behind.

CargoTide moves one piece of content at a time. Tick a post, page or product, build a package, and read exactly what it will change on the other site before anything happens.

You can carry the package across yourself, or connect the two sites once and push it. After a site is saved, every post, page and product gets a Push to site link on hover, and there is a bulk action for sending several at once.

🚀 Pushing straight to another site

Save the other site’s address and a credential once, then send a package to it without downloading anything. The push is deliberately not a one-click publish:

  • The receiving site has to switch receiving on first. Installing this plugin does not open a write endpoint on your site.
  • Callers authenticate with a WordPress application password, which you create on the receiving site and can revoke there at any time. If your host strips the Authorization header and application passwords cannot work, generate a CargoTide pairing key instead.
  • The upload is chunked and checksummed, so a large package survives a shared host and a truncated one is refused rather than imported.
  • Nothing is applied by arriving. The package uploads, the receiving site produces its own dry run, and it waits for you to press Apply. That is the same dry run, and the same rollback snapshot, as a package uploaded by hand.

Saved credentials are encrypted with your site’s own security salts, so a stolen database copy cannot read them. If you would rather no credential touched the database at all, define it in wp-config.php and enter constant:YOUR_CONSTANT_NAME instead.

📦 What travels

  • The content, its custom fields and its categories and tags, creating any that are missing.
  • Every image the content uses, at every generated size, so nothing has to be rebuilt on arrival and the destination needs no image library.
  • Alt text, captions, descriptions and media folders.
  • Optionally, site options a content type needs in order to look right, for templates that keep part of their styling outside the post.

🖼️ How images are found

Content refers to images in three different ways depending on how it was built, and missing any one of them leaves holes in the page:

  • Page builder layouts and hand written HTML carry an absolute URL and no id.
  • The block editor adds a wp-image-<id> class.
  • Featured and social images are a bare id in a custom field.

CargoTide searches all three.

🚫 What never travels

Sales counters. A product’s takings live in a custom field on the product itself, so copying a staging product over a live one would reset real figures to zero. Easy Digital Downloads and WooCommerce counters are excluded, and you can name more on the Settings tab.

🔒 Safety

  • A dry run lists every content item, image and option with what will happen to each, produced by the same code that does the work, so it cannot disagree with the result.
  • A rollback snapshot of everything about to be overwritten is written first.
  • Content is matched by a stable identifier, so pushing the same page twice updates it rather than creating a duplicate.
  • You decide what happens to content that is already there: update it in place, add it as a draft and leave the original alone, or skip it. The receiving site sets this, not the sending one.
  • An update keeps the status the content already has, so a draft on one site cannot unpublish a live page on the other.
  • And its address, and its date. The same idea covers the web address and the published date, so an edit pushed from somewhere else does not move a page in your menus, your feeds or your sitemap. Each of the three is a separate setting at the receiving end, and each can be handed back to the sending site instead.
  • Your id numbering is yours. Content arriving for the first time is given the next free id on the receiving site, exactly as if you had added it by hand, so nothing in your numbering is skipped. Images default the other way and keep the id they were sent with where it is free, because an image id is embedded inside page builder content. Both are settings, and anything pointing at a renumbered item is rewritten to follow it.
  • A password on the receiving site is never touched. A password protected page stays protected when it is updated, and an arriving page cannot put a password on something that was public.
  • You are told when this site cannot render what is arriving. Content built with a page builder that is not active here is named in the dry run, with the plugin it needs. It still arrives intact; it simply will not render until that plugin is switched on.
  • Missing categories and tags are created on arrival, or not, as the receiving site prefers. The dry run lists any that will be left off.
  • Options are refused unless the receiving site has listed them, so a hand-edited package cannot write settings the site never agreed to.

📁 Where packages are kept

Packages, rollback snapshots and logs are written inside wp-content/uploads, in a folder whose name carries a random suffix generated once on your site and kept from then on. Every folder is also given .htaccess, web.config and index.php files that deny direct access, and they are rewritten if something removes them.

A package can hold drafts, private posts and anything else you selected, so it has no business being downloadable by somebody who guesses the path. Uninstalling the plugin removes the folder.

None of this affects a push. The two sites exchange content through the REST API and never exchange a folder address, and a download from the admin screen is streamed by PHP behind a permission check.

🧩 Works with

Elementor page layouts, Easy Digital Downloads and WooCommerce products, Rank Math fields, and FileBird media folders. Every one is detected at run time; none is required.

CargoTide is not affiliated with any of those projects.

External services

The plugin itself moves nothing through us. Two requests exist, both read-only, both made only
when an administrator opens a screen, and neither one sends anything about your site:

  1. The site you push to. When you save a site under Tools > CargoTide > Push to a site and
    then push, the package and the credential you entered go directly to that site, over
    HTTPS, to its own cargotide/v1 REST endpoints. You choose the address, you create the
    credential on that site, and you can revoke it there at any moment. Nothing is sent to
    ShoreZella. There is no CargoTide account and no relay in the middle.
  2. The “Our plugins” tab. Opening that one tab reads two public catalogs so the list stays
    current without a plugin update: the WordPress.org Plugin API at api.wordpress.org (the
    same service WordPress core already uses for the plugin browser, see
    https://wordpress.org/about/privacy/ and https://wordpress.org/about/terms/), and the public
    plugin list at https://shorezella.com/wp-json/shorezella/v1/plugins (see
    https://shorezella.com/privacy-policy/ and https://shorezella.com/terms/). Both replies are cached
    for twelve hours. Neither request carries your site address, your content or any personal
    data, and neither runs unless you open that tab.

🛒 Shops

WooCommerce and Easy Digital Downloads products are ordinary content to CargoTide, with two exceptions it handles for you.

A WooCommerce variable product is not one row. It is the product plus a hidden row for every variation, and sending only the product delivers something nobody can buy, which looks perfectly fine on the screen. Ticking the product sends its variations, its global attributes and its images, and the export list tells you how many extra rows are coming.

What is deliberately left behind is anything that points at OTHER products by id: upsells, cross-sells, grouped children and EDD bundles. Those ids mean nothing on the receiving site, so copying them would show customers the wrong products. Set those once on the other side.

Sales and earnings counters never travel, for either shop. They are real money on the destination.

Installation

  1. Install and activate on both sites.
  2. On the source site go to Tools > CargoTide > Export from this site, pick a content type, tick what you want and press Build package from selected, then download the zip.
  3. On the destination site go to Tools > CargoTide > Import a package, upload the zip, read the dry run and press Apply package.

FAQ

Does it copy my whole site?

No, and that is the point. It copies the items you tick, plus the images they use.

Will it overwrite my orders, comments or sales figures?

No. It only touches the content you selected. Shop sales counters are excluded by design.

What if the same page already exists on the other site?

By default it is updated in place, at the same web address, with no second copy. Pushing the same page repeatedly never creates duplicates.

CargoTide treats two pages as the same content if it pushed one to the other before, or if they are the same type and sit at the same address. It does not go by post id: two sites built separately can hold completely different pages under the same number.

The receiving site chooses, under Settings, Content that arrives here. The other two choices are to add the arriving version as a new draft and leave what is there untouched, or to skip it entirely. Whichever is set, the dry run names every item before anything is written, and says why it matched and what the status will be afterwards.

Can a push unpublish my live page?

Not by default. When content that is already here is updated, it keeps the status it has on this site, so a page that is published stays published even if the version being sent is still a draft. Content arriving for the first time keeps the status it was sent with, because there is nothing here to keep.

If you would rather the sending site decided, there is a setting for that under Settings, Content that arrives here.

Will my page keep its address, its date and its id?

Yes by default, and all three are yours to set. An update keeps the address the page is already at, keeps the date it was published on, and never changes its id. Content arriving for the first time is given the next free id on this site, so your numbering carries on unbroken. If you would rather the two sites stayed numbered identically, there is a setting for that under Settings, Content that arrives here.

What if this site does not have the page builder the content was built with?

The dry run says so before you apply anything. CargoTide recognises content built with Elementor, Divi, Beaver Builder, Bricks, Oxygen, WPBakery, SiteOrigin, Fusion and Advanced Custom Fields, and tells you which one is missing. The content still arrives whole; it will not render until that plugin is active, and nothing goes silently blank.

Does it send anything to a third party?

Nothing goes to ShoreZella, and there is no account and no relay. A package you export is a
file you download and upload yourself. A package you push goes straight to the site whose
address you saved, with the credential you created on that site, and nowhere else.

The one other request is the “Our plugins” tab, which reads two public catalogs so the list
does not go stale. It runs only when you open that tab, and it sends nothing about your site.
Both are listed under External services above.

How many sites can I push to?

As many as you like. Save a connection for a staging site, a live site, and one for every
client if that is how you work. There is no limit, no trial and no expiry, and nothing about
it is held back: the images, the dry run and the rollback snapshot are all in the free plugin.

What is the largest package it can move?

A package is limited by your server’s upload size and PHP memory, the same as any zip. A page with a handful of images is a few megabytes; a long tutorial with twenty full size screenshots can be twenty or more.

Screenshots

Changelog

1.0.0

  • Initial release.