You can lift one site out of a multisite network with WP-CLI and no plugin. The trick is to export only that site’s tables, plus the users.
I ran every command below on WordPress 7.1 with MySQL 8 in December 2026. The example moves site 2, at network.com/two, to newsite.com. Change the numbers and names to match yours.
Before you start
- Back up both databases. You’ll rename tables and replace text, and you want a way back.
- You need SSH and WP-CLI on both sites, or a local copy of each.
- Install a fresh, single WordPress site at the new address.
1. Find the site’s number
wp site list --fields=blog_id,url
blog_id url
1 http://network.com/
2 http://network.com/two/
2. Export only its tables
Run this in the multisite. The important part is --scope=blog.
wp db export site.sql \
--tables=$(wp db tables --scope=blog \
--url=network.com/two --format=csv)
Without it, wp db tables --url= also returns the tables the whole network shares: users, sitemeta, blogs, signups. You’d export data that belongs to every other site. With it, you get only this:
wp_2_commentmeta wp_2_comments
wp_2_links wp_2_options
wp_2_postmeta wp_2_posts
wp_2_termmeta wp_2_terms
wp_2_term_taxonomy wp_2_term_relationships
Plugins that make their own tables don’t always register them with WordPress, so they can be missing from that list. Compare it with wp db tables and a wildcard, quoted so your shell leaves it alone:
wp db tables 'wp_2_*' --all-tables-with-prefix --format=csv
Use the longer list if your plugins need those tables.
3. Export the users
wp db export users.sql --tables=wp_users,wp_usermeta
These two tables hold everyone on the network. Treat the file as private, and delete the people who don’t belong once you’re done.
4. Set the prefix and import
In the new site’s wp-config.php, use the same prefix as the exported tables:
$table_prefix = 'wp_2_';
Then import both files and rename the user tables to match:
wp db import site.sql
wp db import users.sql
wp db query "RENAME TABLE wp_users TO wp_2_users,
wp_usermeta TO wp_2_usermeta"
Keeping the number in the prefix is what makes this simple. Roles are saved under names like wp_2_capabilities, so they keep working. The import replaces the fresh site’s own wp_users and wp_usermeta, and the rename moves them to the new prefix. The other wp_ tables from the fresh install are left over. Drop them when you’re done.
5. Copy the files
- Themes and plugins the site uses. Network-activated plugins have to be activated again.
- Must-use plugins, except the ones made only for multisite.
- Uploads. On the network they’re in
wp-content/uploads/sites/2/. On the new site they go straight intowp-content/uploads/.
rsync -av network/wp-content/uploads/sites/2/ \
newsite/wp-content/uploads/
6. Fix the addresses
Uploads first, then the site address. The order matters: the second command would change the first part of the upload URLs on a subdomain network. Try each with a dry run.
wp search-replace \
'http://network.com/wp-content/uploads/sites/2' \
'https://newsite.com/wp-content/uploads' \
--skip-columns=guid --dry-run --report-changed-only
wp search-replace \
'http://network.com/two' 'https://newsite.com' \
--skip-columns=guid --dry-run --report-changed-only
--skip-columns=guid leaves post GUIDs alone, since feed readers use them to tell old posts from new. When the counts look right, run both again without --dry-run. Run them for both http and https if the network used both.
7. Check it
wp option get siteurl
wp user list --fields=user_login,roles
wp rewrite flush
wp plugin list --status=active
Questions people ask
A super admin on the network may have no role on that one site. Give yourself one:
wp user set-role yourname administrator
You can, but it’s more than renaming tables. Option and user meta names contain the prefix too, such as wp_2_user_roles and wp_2_capabilities. Leaving it is safer, and nobody sees it.
Its tables have no number, so use --url with the main address and the same steps. The user tables already have the right names, and its uploads aren’t in a sites folder.
Only after the new site has run well for a while. Archive it first. Deleting a site from the network deletes its tables.
Moving a whole network, or a site you can’t afford to break? I can help.