If you run three WordPress sites and you are tired of updating the same plugin in three dashboards, logging in three times, and keeping three sets of themes in sync, WordPress multisite setup is the feature you have been ignoring. Multisite turns one WordPress installation into a network of sites: one codebase, one set of plugins and themes to update, one database, and a single Network Admin dashboard that controls them all. This guide walks you through setting it up properly on a self-hosted server, including the Nginx configuration most tutorials skip, the WP-CLI shortcut, and the decision you have to get right before you click Install. Verified against the official WordPress developer docs on 18 November 2026, with WordPress 7.1.4 as the current stable release.
What WordPress Multisite actually is
Multisite has been built into WordPress since version 3.0. It is not a plugin and it is not a separate product: every WordPress install already contains it, dormant until you switch it on. Once enabled, your single installation can host many sites. WordPress.com runs on the same feature, at enormous scale.
Here is what the sites in a network share, and what they do not. They share the WordPress core files, the installed plugins, and the installed themes — update once and every site gets it. Each site keeps its own content, its own settings, its own users, and its own media upload directory. In the database, each site gets its own set of tables (wp_2_posts, wp_2_options, and so on), so one site’s content never leaks into another’s.
Administration changes too. A new role appears above the regular administrator: the Super Admin, who manages the whole network from the Network Admin dashboard. Individual site admins can activate plugins and themes, but they cannot install them — only the Super Admin can add code to the network. That single fact is both the feature’s biggest strength and its biggest trap, and it decides whether Multisite is right for you.
When Multisite earns its complexity — and when it does not
Multisite is the right call when your sites genuinely belong together. A university with a site per department, a franchise with a site per location, an agency hosting client microsites on one stack, a company with a main site plus regional and campaign sites: all of these share users, design, or management overhead, and Multisite removes the duplicated work. If your sites share a user base, the win is bigger still — a user registered on one site can be given access to others without a second account.
It is the wrong call for a set of unrelated sites that happen to live on the same server. Unrelated sites gain nothing from sharing a codebase, and they inherit all of the risk. Multisite concentrates failure the same way it concentrates convenience: one hosting outage, one bad plugin update, or one hacked site can take every site in the network down at the same time. A plugin that one subsite needs and another cannot tolerate is a real conflict, because plugins are installed network-wide and you cannot run two versions of the same plugin.
If your only problem is updating several separate sites, a management tool such as MainWP gives you one dashboard without merging the sites into a network. Choose Multisite when the sites need to share code, users, or administration — not just when you are tired of logging in.
Subdomains or subdirectories: decide before you install
Every network picks one URL structure at creation time, and changing it later is a full migration, not a setting. The official docs are explicit: flipping the SUBDOMAIN_INSTALL constant and swapping the rewrite rules does not migrate existing site addresses, DNS, certificates, redirects, or cookies. So decide now.
| Subdirectories (path-based) | Subdomains (domain-based) | |
|---|---|---|
| Site address | yoursite.com/shop/ |
shop.yoursite.com |
| DNS | Nothing extra | One record per site, or a wildcard record |
| Certificate | One certificate covers everything | Wildcard certificate, or one per subdomain |
| Server rules | Rewrite rules needed (Nginx or Apache) | On Nginx, no special rewrites needed |
| Best for | Closely related sites, shared SEO authority | Separate brands, cleaner separation |
Subdirectories are simpler: one domain, one certificate, no DNS work. Subdomains give each site a cleaner identity and make it easier to move a site to its own domain later. As a rule of thumb, pick subdirectories unless you have a specific reason for subdomains.
There are two hard restrictions that catch people out. First, the one-month rule: WordPress will not offer you a subdirectory network if your existing site has published content older than a month, because a new site path could collide with an existing post URL. The check looks for any published post, page, or other content type dated more than a month ago. On a fresh install both options are offered. If you really need subdirectories on an older site, the ALLOW_SUBDIRECTORY_INSTALL constant lifts the restriction — but only do that if you understand the collision risk and have checked your existing URLs.
Second, a subdomain network cannot run on localhost, an IP address, or an address that contains a path, and no network works on a port other than 80 or 443. For local development, use a real-looking name such as mynetwork.test mapped to 127.0.0.1 in your hosts file instead of localhost:8080.
Before you touch anything: the checklist
Network setup rewrites your wp-config.php, your server rules, and your database. The official docs say it plainly: back up your database and files first, unless this is a fresh install and you have nothing to lose. Then work through this list.
- Back up everything. Database and files, tested by restoring somewhere — a backup you have never restored is a hope, not a backup.
- Confirm pretty permalinks work. Multisite depends on them. If your single site still uses plain
?p=123URLs, fix that first. - Deactivate all active plugins. The official guide asks you to do this before creating the network; you reactivate them afterwards. A plugin that hooks into rewrite rules or login during conversion is the classic cause of a half-converted network.
- Check your hosting. Subdomain networks need wildcard DNS (
*.yoursite.com) if sites will be created on demand, and a wildcard certificate for HTTPS. If you cannot change server configuration yourself — shared hosting, for example — confirm with your host that wildcard subdomains and the required rewrite support are available before you start. - Run a current stack. WordPress 7.1.4 is the current stable release (shipped 28 October 2026 as a security release); WordPress 7.2 is due 8 December 2026. WordPress recommends PHP 8.3 or newer and MySQL 8.0 or MariaDB 10.11 or newer. If your site still runs on WordPress installed in its own directory, move it to the root before activating Multisite — the docs say to do that first, not after.
- Decide your canonical domain now. Whether the network lives at
yoursite.comorwww.yoursite.comis much harder to change after the network exists.
Step 1: Enable the Network Setup menu
Open wp-config.php in your site root and add one line above the comment that reads /* That's all, stop editing! Happy publishing. */:
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
That line does not enable Multisite. All it does is reveal the Tools > Network Setup menu item in wp-admin. Refresh your dashboard and it will be there.
Step 2: Run the Network Setup wizard
Go to Tools > Network Setup. WordPress shows the Create a Network of WordPress Sites screen. Choose Sub-domains or Sub-directories — the choice is permanent in practice, so use the decision from the section above, not a gut feeling. The network title and network admin email are filled in automatically; check them and press Install.
WordPress may warn you about wildcard subdomains. The official docs note that you only need wildcard DNS for on-demand domain-based sites, so if you will add subsites yourself, you can ignore the warning.
Step 3: Add the generated code to wp-config.php and your server
After you press Install, WordPress shows you two blocks of code generated specifically for your installation. Copy them exactly — do not type them from memory or copy an example from a blog post, because the values (domain, paths, cookie settings) are specific to your site.
The first block goes into wp-config.php, just after the line you added in step 1. For a subdirectory network it looks like this:
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
define( 'DOMAIN_CURRENT_SITE', 'yoursite.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
For a subdomain network, SUBDOMAIN_INSTALL is true instead. Back up your existing wp-config.php before you edit it.
The second block is the server rewrite rules. On Apache, WordPress gives you an .htaccess block: back up your existing file, replace the WordPress lines with the generated ones, and make sure mod_rewrite is enabled. On Nginx there is no .htaccess and WordPress cannot generate rules for you — you add them to your server configuration yourself. That is where most tutorials stop, so here are the rules, straight from the official WordPress Nginx handbook, for a subdirectory network on WordPress 3.5 and later:
server {
server_name yoursite.com;
root /var/www/yoursite.com/htdocs;
index index.php;
if (!-e $request_filename) {
rewrite /wp-admin$ $scheme://$host$request_uri/ permanent;
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
The three rewrite lines strip the site path (/shop/) off requests for shared WordPress files — wp-admin, wp-includes, wp-content, and any .php file — so every subsite reaches the one shared installation. A subdomain network needs no special rewrites on Nginx, because each subdomain already routes to the same document root. After editing, test the configuration with nginx -t and reload with systemctl reload nginx, then log back into wp-admin. You may need to clear your browser cache and cookies to get in.
Step 4: Create your first subsite
Once you log back in, the toolbar has a new My Sites menu, and inside it a Network Admin item. That is your new control room. Go to My Sites > Network Admin > Sites > Add New, enter the site address, title, and admin email, and click Add Site. The new site appears in the list immediately; visit it and you will see a fresh WordPress site with the default theme.
If you prefer the terminal, WP-CLI does the same thing in one command — and it is also the fastest way to convert an existing single site into a network without opening wp-admin at all:
# Convert a single site into a network (add --subdomains for subdomains)
wp core multisite-convert
# Create a subsite
wp site create --slug=shop
# List every site in the network
wp site list --field=url
The wp site family covers the whole lifecycle: wp site create, wp site list, wp site archive, wp site delete, and wp site empty for wiping a site’s content without removing the site itself.
Giving a subsite its own domain (domain mapping)
A subsite does not have to live at shop.yoursite.com or yoursite.com/shop forever. Since WordPress 4.5, domain mapping is a native feature — no plugin required. Point the domain’s DNS at your server, install a certificate for that domain, then open Network Admin > Sites, edit the site, and change its Site Address to the new domain. It works with both subdomain and subdirectory networks.
Two things to get right: the domain must resolve to the server before you change the address (otherwise you lock yourself out of that site), and the certificate must cover the mapped domain — a wildcard certificate for *.yoursite.com does not cover shop.com. If you use Let’s Encrypt, issue a certificate that lists the mapped domain explicitly.
Running the network day to day
Once the network exists, your habits change in a few specific ways. Plugins and themes are installed once, from Network Admin > Plugins or Themes, and then either network-activated (forced on for every site) or left for individual site admins to activate. A plugin that is network-activated cannot be switched off by a site admin, which is exactly what you want for security and caching plugins — and exactly what you do not want for a plugin only one site needs. Test plugin updates on one subsite before you network-activate an update across all of them.
Users are managed at network level too. A user can exist on the network without belonging to any site, and the Super Admin adds them to sites as needed. Registration settings live under Network Admin > Settings, where you control whether visitors can register at all and whether they can create their own sites — leave site creation off unless you genuinely want a WordPress.com-style open network, because open registration is a spam magnet.
Backups and caching need the same network-wide thinking. Your backup must cover the shared files plus every site’s tables, and a cache plugin needs to understand Multisite’s per-site upload directories. This is also why the blog’s earlier guide on object caching matters here: on a busy network, a persistent object cache stops the shared database from becoming the bottleneck every site shares.
Seven mistakes that break Multisite networks
1. Choosing the URL structure on a whim. Subdomain versus subdirectory is effectively permanent. Changing it later means editing SUBDOMAIN_INSTALL, every row of the sites table, each site’s home and site URL, URLs inside content, the rewrite rules, DNS, and certificates. Decide with the table above, not after the fact.
2. Converting a live site without a backup. Network setup rewrites configuration and database tables. On a fresh install there is nothing to lose; on a live site, a backup you have tested is the only sane starting point.
3. Skipping the plugin deactivation step. The official guide tells you to deactivate plugins before creating the network for a reason: a plugin that rewrites URLs or intercepts logins mid-conversion produces a network that looks fine and breaks in strange places later.
4. Forgetting wildcard DNS and certificates. A subdomain network without a wildcard DNS record means every new subsite needs manual DNS work, which defeats the point. And a wildcard certificate covers *.yoursite.com — it does not cover the bare domain or a mapped domain, so check the certificate’s names, not just its expiry date.
5. Hand-typing the generated code. The wp-config.php constants and server rules WordPress generates are specific to your installation. Copy them exactly. A wrong DOMAIN_CURRENT_SITE or PATH_CURRENT_SITE produces redirect loops that look like a server problem and are not.
6. Letting one site’s plugin take down the network. A fatal error in a network-activated plugin is a fatal error on every site. Keep network-activated plugins to the minimum — security, caching, backups — and test everything else on a single subsite first.
7. Treating Multisite as a backup strategy. It is not. All sites share one database and one set of files, so a single backup of the network is one backup of everything. If a subsite needs to leave the network later, extracting it is a migration project of its own.
The verdict
WordPress Multisite setup is a fifteen-minute job on a fresh install and a careful afternoon on a live one — and the difference is entirely in the preparation. If your sites share users, design, or administration, one network replaces a pile of duplicated installs and the update treadmill that comes with them. If they do not share anything, keep them separate and use a management tool instead. Pick the URL structure deliberately, back up before you convert, copy WordPress’s generated code exactly, and put the Nginx rules in yourself rather than assuming the wizard handles them. Do that, and one dashboard runs all your sites.
Verified 18 November 2026 against the official WordPress developer documentation. WordPress 7.1.4 is the current stable release; WordPress 7.2 ships 8 December 2026.
Further Reading & References
- Create a Network — WordPress Developer Resources (official setup guide)
- Nginx — WordPress Advanced Administration Handbook (official multisite rewrite rules)
- Multisite Network Administration — WordPress Developer Resources (one-month rule, domain mapping, switching structures)
- wp site — WP-CLI Command Reference (site create, list, delete, archive)
- WordPress Multisite Setup and Configuration Tutorial — Pantheon (hosting requirements, PHP 8.3+)
- How to Set Up WordPress Multisite Network — WP School (practical walkthrough, 50+ subsite experience)
- WordPress Multisite on Nginx and PHP-FPM — EuroVPS (Nginx setup, WP-CLI conversion)
- WordPress Multisite: When to Use It — Web Building (when to use it, domain mapping since 4.5)
- WP-CLI: The Complete Guide — HowToShipIt
- WordPress Debug.log: How to Enable It and Read What It Tells You — HowToShipIt
- WordPress Security Headers: Add Them Safely — HowToShipIt



