A network with 40 microsites runs fine for two years, then someone adds the 41st and the request times out. Or a marketing team network-activates a new plugin and every customer-facing subsite throws fatals. Multisite is one codebase pretending to be N sites; the rules that hold N=3 together stop holding at N=200.
What’s happening
Multisite enables itself with define('WP_ALLOW_MULTISITE', true) in wp-config.php, then a second pass with MULTISITE, SUBDOMAIN_INSTALL, DOMAIN_CURRENT_SITE, and PATH_CURRENT_SITE wires the network. Subdomain vs subdirectory is not cosmetic — subdomain installs need wildcard DNS and a wildcard certificate, subdirectory installs need permalink rewrites and conflict with sites whose slug overlaps a top-level path.
Each subsite gets its own row in wp_blogs, its own option table (wp_2_options, wp_3_options, etc.), its own postmeta, its own usermeta with a per-site capability key. Users are shared across the network in wp_users, but the super_admin capability — the only role that can install plugins, run network upgrades, and create or delete sites — is held in the site_admins row of wp_sitemeta.
Network-activated plugins load on every subsite request. A plugin with a heavy init hook (bbPress, WooCommerce, large security plugins) multiplies its cost across the network instead of staying contained to the subsite that needs it.
How to verify
List the network and inspect a specific site:
wp site list --fields=blog_id,url,registered,last_updated
wp site list --network --format=count
wp site empty --uploads --url=https://blog42.example.com # destructive, dry-run first
Anything you run with WP-CLI on a multisite needs --url= to scope the request to a subsite — without it WP-CLI runs against the main site and silently mutates the wrong options table. To audit network-activated plugins:
wp plugin list --status=active-network
Check what’s holding super-admin:
wp super-admin list
For uploads, look at wp-content/uploads/sites/. Sites created since WP 3.5 land there; older networks may still have wp-content/blogs.dir/, which needs migrating before modern backup or CDN tooling treats them uniformly.
The fix
For adding or removing sites at scale, drive it through WP-CLI so DNS and certificate provisioning happen in the same pipeline:
wp site create --slug=newbrand --title="New Brand" --email=ops@example.com
wp site delete 42 --yes
For plugin scope, decide up front whether a plugin is genuinely a network concern (security, analytics, infrastructure shims) or a per-subsite concern (page builders, WooCommerce). Only the first category should be network-activated. For user export across the network, walk every blog ID and concatenate:
for id in $(wp site list --field=blog_id); do
wp user list --url=$(wp site url $id) --format=csv --fields=ID,user_login,user_email,roles
done > network-users.csv
If you’re still on blogs.dir, plan the migration to sites/ — the legacy layout breaks newer CDN integrations and backup tooling.
Stack Harbor runs multisite networks under the Enterprise WordPress operating model, including the WP-CLI tooling around it; see also Deployment Management for the DNS and certificate side. If your network has grown past what your runbook covers, we can audit it.