Multisite Migration
Migrate WordPress Multisite networks — full network, sub-site extraction, standalone import, and more.
Overview
SafeGuard supports all 5 WordPress Multisite migration scenarios out of the box. There is no extra add-on or tier required — every license includes full multisite support. Competitors charge $319+ for a separate multisite add-on.
Whether you need to move an entire network, extract a single sub-site into a standalone install, or import a standalone site into an existing network, SafeGuard handles the complex table rewriting, user merging, and upload relocation automatically.
The 5 Scenarios
| # | Scenario | Source | Destination |
|---|---|---|---|
| 1 | Full Network Migration | Multisite network | Multisite network |
| 2 | Sub-site Extraction | Sub-site in a network | Standalone WordPress |
| 3 | Import into Multisite | Standalone WordPress | Sub-site in a network |
| 4 | Network Dissolution | Multisite network | Single standalone site |
| 5 | Sub-site Transfer | Sub-site in network A | Sub-site in network B |
Scenario 1: Full Network Migration
Migrate an entire multisite network — all sub-sites, users, uploads, and configuration — to a new server or host.
Install SafeGuard on both networks
Install and activate SafeGuard on the source and destination multisite networks. Activate it network-wide via Network Admin → Plugins.
Generate migration code on the destination
On the destination network (the fresh multisite install), go to Network Admin → SafeGuard → Migrate → Receive and click Generate Code. Copy the migration code.
Start the migration on the source
On the source network, go to Network Admin → SafeGuard → Migrate → Send. Select Entire Network from the migration scope, paste the migration code, and click Start Migration.
The destination must be a fresh multisite install with no existing content. SafeGuard will overwrite all tables and uploads on the destination network.
Scenario 2: Extract a Sub-site
Pull a single sub-site out of a multisite network and migrate it to a standalone WordPress installation.
Generate migration code on the destination
On the destination standalone site, go to SafeGuard → Migrate → Receive and click Generate Code. Copy the migration code.
Select the sub-site and start migration
On the source multisite network, go to Network Admin → SafeGuard → Migrate → Send. Select the sub-site you want to extract from the dropdown, paste the migration code, and click Start Migration.
SafeGuard automatically handles all the complexity of sub-site extraction:
- Renames tables — converts
wp_2_posts→wp_posts,wp_2_options→wp_options, etc. - Filters users — only migrates users who belong to the selected sub-site
- Relocates uploads — moves files from
/uploads/sites/2/→/uploads/ - Replaces URLs — rewrites all internal URLs from the sub-site domain to the destination domain
Scenario 3: Import into Multisite
Migrate a standalone WordPress site into a multisite network as a new sub-site.
Create a blank sub-site
On the destination multisite network, go to Network Admin → Sites → Add New and create a blank sub-site. This reserves the table prefix and upload directory.
Generate migration code on the new sub-site
Navigate to the new sub-site's wp-admin (not the Network Admin). Go to SafeGuard → Migrate → Receive and click Generate Code. Copy the migration code.
Start the migration from the standalone site
On the standalone source site, go to SafeGuard → Migrate → Send. Paste the migration code and click Start Migration.
SafeGuard automatically handles the import:
- Rewrites table prefixes in real-time — transforms
wp_posts→wp_2_postsduring the SQL import stream, so data is written directly to the correct sub-site tables - Merges users — matches existing network users by email address and resolves login collisions by appending a numeric suffix
Scenario 4: Network Dissolution
Convert a multisite network back to a single standalone WordPress site. This is effectively the same as Scenario 2 — extract the main site (blog ID 1) to a standalone install.
Follow the steps in Scenario 2, selecting the main site from the sub-site dropdown on the source network.
Scenario 5: Sub-site Transfer
Move a sub-site from one multisite network to another. This combines extraction and import in a single step.
Prepare the destination network
On the destination multisite network, create a blank sub-site via Network Admin → Sites → Add New. Then navigate to the new sub-site's wp-admin → SafeGuard → Migrate → Receive and generate a migration code.
Send from the source network
On the source multisite network, go to Network Admin → SafeGuard → Migrate → Send. Select the sub-site you want to transfer, paste the migration code from the destination, and click Start Migration.
SafeGuard handles the table prefix translation between networks automatically (e.g., wp_3_posts on the source becomes wp_5_posts on the destination).
How It Works
For advanced users, here is what SafeGuard does under the hood during multisite migrations.
Table Prefix Handling
WordPress multisite uses numbered table prefixes for each sub-site (wp_2_, wp_3_, etc.). During migration, SafeGuard rewrites these prefixes in the SQL stream:
- Extraction (sub-site → standalone):
wp_2_posts→wp_posts - Import (standalone → sub-site):
wp_posts→wp_2_posts - Transfer (sub-site → sub-site):
wp_3_posts→wp_5_posts
This rewriting happens during the SQL import stream, so data never needs to be staged in intermediate tables.
User Merge
Multisite networks share a single wp_users table across all sub-sites. When extracting or importing:
- Email matching — if a user with the same email already exists on the destination, SafeGuard maps the old user ID to the existing user
- Login collision resolution — if the username is taken by a different user, SafeGuard appends a numeric suffix (e.g.,
john→john2) - Role preservation — user roles and capabilities are preserved during the merge
Uploads Path Mapping
Sub-sites store uploads in /wp-content/uploads/sites/{blog_id}/. SafeGuard remaps these paths automatically:
- Extraction:
/uploads/sites/2/2025/01/photo.jpg→/uploads/2025/01/photo.jpg - Import:
/uploads/2025/01/photo.jpg→/uploads/sites/2/2025/01/photo.jpg
Network-Activated Plugins
Plugins that are network-activated on the source are handled based on the migration scenario:
- Full network migration — network-activated status is preserved
- Sub-site extraction — network-activated plugins are converted to regular activated plugins on the standalone destination
- Import into multisite — plugins remain site-level activated; network activation must be done separately by the network admin
Limitations
- Subdomain / subdirectory conversion is not supported. If your source uses subdomain multisite (
site1.example.com) and your destination uses subdirectory (example.com/site1), migrate as-is and convert separately using WordPress's built-in tools. - Multisite staging is not supported in v1. Staging support for multisite networks is planned for a future release.