Multisite migration
Merge WordPress Sites into a Multisite Network
Bring separate single-site WordPress installs into one network: import each backup as a new subsite and merge its users into the shared users table.
Short answer
Back up each single site. On the network, import the archive and restore it with the topology “subsite on network”, giving each site a new address in the network. The shared users merge matches users by login or email, keeps existing passwords, creates missing accounts and remaps post authors and user-linked meta. Repeat for every site.
This topology is part of Pro. In Pro 1.2.24 you start it for a single-site archive with WP-CLI (--topology-import=subsite_on_network) or in the Deploy step of the Pro installer uploaded to the network's server. The restore dialog in WordPress currently offers it only for subsite archives from another network.
Before you start
- Multisite Migrate on each single site; Multisite Migrate Pro with an active licence on the network.
- WP-CLI on the network server if you use the command-line path.
- A full network backup before the first import.
- Plugins and themes of the sites installed on the network (they are shared there).
Steps
- Back up each single site
On every site run a full backup in Multisite Migrate → Backups and download the archive. - Back up the network
Run a full network backup on the destination so you can roll back. - Install shared plugins and themes
Install the plugins and themes the sites use on the network. Network-activate only what every site needs. - Import the archive
Register the archive on the network, then note the job ID it prints (or find it withwp multisite-migrate list).wp multisite-migrate import /path/to/site-a.zip - Restore as a new subsite
Restore the archive onto the network with a new site address and users merge on.wp multisite-migrate restore <job-id> --topology-import=subsite_on_network --topology-target-url=https://network.example/site-a/ --user-merge --uid-fields=_customer_user --yes - Verify and repeat
Open the new subsite, check authors, media and forms, then repeat for the next site.
Troubleshooting
Frequently asked questions
Can I merge sites with the free plugin?
Free can back up each single site. Importing a site into an existing network with users merge is part of Pro.
What happens to duplicate users?
Users with the same login or email are matched to the existing account, which keeps its password. Others are created with the password hash from the archive.
Do the sites keep their own domains?
Yes. Give the subsite its own domain in Network Admin → Sites after the import (domain mapping), with DNS and SSL for that domain.
Sources
Related guides and comparisons
Make your first restorable network backup for free.