Advanced
Transferring a site
Copy a staging build over the live site, addresses rewritten as it goes.
Transfer site copies one connected site onto another. The usual case is a rebuild on staging going live, but any two sites on your account will do.
Before you start
Both sites must be connected to MegaManager and reachable. The destination's content will be replaced — database, themes, plugins and uploads.
If the live site has collected anything since the staging copy diverged, that data is on the live site and will be gone. Orders, form submissions, new posts and new users all fall into this category. A shop is rarely a good candidate for a transfer.
Running one
Pick the source and the destination, read the confirmation — it names both sites — and confirm. Then four steps run:
- Safety copy of the destination. Taken before anything is touched, so there is always a way back.
- Copy of the source.
- Writing onto the destination, including the address rewrite.
- Finished.
A failure in step one means nothing was changed at all.
Keep the page open while it runs: progress is driven from it. A transfer usually takes a few minutes, longer for large sites.
The address rewrite
Every occurrence of the source's address is replaced with the destination's, and not only in obvious places. WordPress stores widget settings, theme mods and page-builder layouts as serialized data that records the length of each stored value; a naive find-and-replace leaves lengths that no longer match, which is how home-made migrations produce blank Divi and Elementor modules.
MegaManager decodes those structures, replaces inside them and re-encodes, so the layouts arrive intact. Escaped forms that builders write into JSON are handled in the same pass.
What the destination keeps
- Its identity in MegaManager. The destination stays itself, rather than inheriting the source's connection and showing up as a duplicate.
- Its safety backup, from step one.
Undoing a transfer
Restore the destination's safety backup from its Backups tab, the way you would restore any other backup. It is the copy taken immediately before the transfer.
Known limits
- The page must stay open for the transfer to progress.
- Different database table prefixes between the two sites are not translated.
- A transfer that stops moving for 90 minutes is marked failed.
- Only sites on the same account can be transferred between.
Something missing or wrong here? Tell us.