Choosing between subdomains and subdirectories is one of the first and most important decisions you’ll make when setting up a WordPress Multisite network. While both structures support the same core Multisite functionality, they differ significantly in DNS and SSL requirements, SEO considerations, hosting compatibility, and long-term maintenance.
The decision also becomes more nuanced when domain mapping enters the picture. If each subsite will eventually use its own custom domain, the underlying structure may be invisible to visitors but will still affect administration and infrastructure.
This guide breaks down everything you need to know about subdomains and subdirectories. It explains when each approach makes sense, covers domain mapping, and clarifies the practical tradeoffs that can impact your network long after launch.
Get matched with the developer
that is perfect fit for your WordPress or WooCommerce needs.
Start a project
Subdomains vs. subdirectories at a glance
In a WordPress Multisite network, the same subsite can appear in two very different ways:
- A subdomain network gives each subsite its own hostname, such as store.example.com or blog.example.com.
- A subdirectory network places subsites under the main domain, such as example.com/store or example.com/blog.
Functionally, both options work almost the same. Subsites still share the same WordPress installation, database, themes, plugins, and network administration. Neither approach is inherently more scalable or performant.
However, behind the scenes, this choice affects DNS configuration, SSL management, SEO reporting, hosting requirements, and future migration work.
The table below summarizes the major tradeoffs:
| Dimension | Subdomains (site1.example.com) | Subdirectories (example.com/site1) |
| URL format | Subsite name before the root domain. | Subsite name as a path under the root. |
| DNS requirement | Wildcard A record (*.example.com → server IP). | None beyond the root domain. |
| SSL | Wildcard certificate or per-subdomain provisioning. | Standard root-domain certificate. |
| SEO treatment | Not automatically worse, but often managed as a distinct section/site. | Not automatically better, but simpler for unified architecture and internal linking. |
| Hosting compatibility | Requires DNS access and wildcard support – some hosts restrict or upcharge. | Works on most plans without changes. |
| Switching difficulty | High; requires DB search-replace, DNS, and SSL re-provisioning. | Same complexity in reverse. |
| Best fit | Independent brands, user networks, regional sites. | Content hubs, multi-location organizations, unified branding. |
The DNS and SSL requirements become particularly important once a network starts growing (covered in detail later in this guide).
Choosing between subdomains, subdirectories, and domain mapping
There isn’t a universal winner in the WordPress Multisite subdomain vs subdirectory debate. The right choice depends on how closely related your subsites are, whether they share branding, and whether visitors will ultimately see custom domains instead of Multisite URLs.
When subdirectories fit (the safer default)
For most networks, subdirectories are the safest starting point. They work best when every subsite reinforces the same organization, brand, or authority profile.
Common examples include content hubs, resource libraries, university departments, clinic networks, and franchise organizations operating under a shared identity. They’re also often preferred for international and multilingual websites because all content lives under one domain rather than being split across multiple properties.
Unless a specific requirement pushes you elsewhere, subdirectories are usually the simplest option from both a technical and administrative perspective.
When subdomains fit
Subdomains become more compelling when subsites operate independently. This includes user-generated networks, regional sites with separate marketing strategies, or organizations where different teams manage their own audiences and content. The additional separation can be useful for branding, governance, and SEO management.
In some cases, the decision is made for you. WordPress restricts many established sites from using subdirectories when enabling Multisite, forcing a subdomain structure instead.
There is also a scaling consideration. WPMU DEV notes that crawlers tend to treat each subdomain as a separate site, meaning bot traffic can increase as a network grows. It has also cited security and SSL management challenges as reasons they ultimately regretted running Edublogs on subdomains.
When domain mapping fits
Domain mapping changes the conversation entirely. Instead of displaying site1.example.com or example.com/site1, each subsite uses its own custom domain, such as location1.com or differentbrand.com.
This is common for franchise businesses, multi-brand organizations, and WooCommerce Multisite networks, where each store needs a distinct identity.
Domain mapping is built into WordPress core. Each domain points to the Multisite server via an A record or CNAME, while WordPress internally maps that domain to the correct subsite. Visitors never see the underlying subdomain or subdirectory structure.
As a result, when every subsite uses a mapped domain, the original structure becomes largely invisible. The decision then shifts toward operational simplicity, which generally favors subdirectories.
The main complexity is SSL. Every mapped domain needs its own certificate, making DNS and certificate management increasingly time-consuming as the network grows. That’s one reason many organizations turn to Codeable’s vetted Multisite developers, who routinely handle large-scale domain mapping, SSL provisioning, and DNS configuration.
What each structure requires from your DNS and SSL
As mentioned before, the biggest technical difference between a subdomain and a subdirectory is the DNS and SSL infrastructure that supports them.
Subdomains: Wildcard DNS and wildcard SSL
For WordPress to automatically create and serve unlimited subdomains, your DNS must be configured with a wildcard subdomain record. This tells your domain provider that any subdomain should point to the same server that hosts WordPress.
For example, a wildcard DNS record allows requests for site1.example.com, blog.example.com, or any future subdomain to reach your WordPress installation without creating DNS records one by one.
HTTPS is the second requirement. Because every subsite has its own subdomain, your SSL certificate must also support those subdomains. Most site owners use a wildcard SSL certificate, which secures both the main domain and all first-level subdomains.
Without a wildcard SSL certificate, visitors may see browser security warnings when accessing subsites.
Subdirectories: Standard DNS and standard SSL
Subdirectory networks are considerably simpler because nothing special is required. Your domain only needs to point to the server hosting WordPress, just as it would for a standard single-site installation. Because all subsites exist under the same domain, there is no need for wildcard DNS records or additional domain configuration.
SSL is equally straightforward. Since every subsite uses the same domain name, a standard SSL certificate for your primary domain is usually enough. Once HTTPS is enabled for the main website, all subdirectory sites automatically benefit from the same secure connection. This is because SSL certificates secure domains, not individual URL paths.
The complexity starts when wildcard DNS, wildcard certificates, or dozens of SSL-protected domains enter the picture. That’s often the point where teams either upgrade their hosting environment or bring in a specialist.
When WordPress or your host removes the choice
The subdomain-versus-subdirectory decision isn’t always yours to make. In some cases, WordPress core enforces a specific structure:
- Sites older than one month are limited to subdomains: This safeguard exists because existing URLs such as /blog, /about, or /resources could conflict with future subdirectory-based subsites. Rather than risk breaking existing content, WordPress disables the subdirectory option entirely.
- Local installations are limited to subdirectories: If your WordPress Address uses localhost or an IP address such as 127.0.0.1, the Multisite installer won’t offer subdomains because they cannot be resolved in the same way as a public domain.
- WordPress installations inside a subfolder are also restricted to subdirectories: Subdomain Multisite requires WordPress to be installed at the domain root.
Hosting providers can introduce additional limitations. For example, WordPress VIP only supports subdirectory-based Multisite networks at the platform level. Pressable supports both structures, but reserves the subdomain Multisite for plans supporting five or more sites.
Even when a host technically supports subdomains, practical limitations can still get in the way. Some shared and budget hosting providers restrict access to DNS settings, making wildcard records difficult or impossible to create. Others charge extra for wildcard SSL certificates or advanced DNS features required by subdomain networks.
What this choice means for SEO
Google’s official position is straightforward: subdomains and subdirectories can both rank well. John Mueller has repeatedly stated that Google Search is fine with either structure. The practical SEO differences emerge once you look beyond rankings and into how authority, reporting, and analytics are managed:
- Authority flow: A subdirectory such as mynetwork.com/launch benefits directly from backlinks and authority already associated with mynetwork.com. By contrast, a subdomain such as launch.mynetwork.com is treated more independently. Links pointing to the subdomain primarily strengthen that subdomain, while links pointing to the root domain primarily strengthen the root. This is one reason many organizations default to subdirectories when all sites contribute to the same brand or content strategy.
- Search Console administration: A subdirectory network typically lives under a single property, while each subdomain requires its own property to verify, monitor, and troubleshoot. On a large network, that can mean managing dozens of separate Search Console properties instead of one.
- Analytics: Users moving between pages on the same domain are tracked naturally. With subdomains, journeys such as marketing.mynetwork.com to app.mynetwork.com require explicit cross-domain measurement configuration in GA4 to preserve accurate attribution and session data.
That said, subdomains offer a genuine SEO advantage in certain situations: isolation.
If a subsite contains user-generated content, experimental campaigns, or other higher-risk content, a manual action or algorithmic issue affecting that subdomain does not automatically impact the rest of the network. That separation can be valuable for organizations intentionally operating distinct properties under one umbrella.
International SEO follows the same logic. If the goal is consolidating authority across languages and regions, subdirectories are often the better fit. If regional teams operate independently with their own marketing and search strategies, subdomains can provide the separation they need.
If you’ve already chosen and need to switch
Switching a WordPress Multisite network from subdomains to subdirectories – or vice versa – is possible, but it isn’t a simple settings change. It’s a high-risk process, and involving an experienced developer is recommended, especially on live networks.
At a high level, the migration involves:
- Updating the SUBDOMAIN_INSTALL setting in wp-config.php, changing site URLs throughout the network, and running database search-replace operations across core tables such as wp_options, wp_posts, wp_postmeta, wp_blogs, and wp_site, along with any plugin or theme tables that store absolute URLs.
- Changing the infrastructure layer. Depending on the direction of the migration, you’ll need to add or remove wildcard DNS records, reconfigure SSL certificates, and create 301 redirects from old URLs to new ones to preserve search visibility and existing links. Once the migration is complete, every cache layer – including object cache, page cache, CDN cache, and browser cache – needs to be cleared.
The technical risk comes from the hidden references left behind. Theme settings, page builders, and plugins often store URLs inside serialized PHP arrays that don’t always update cleanly during search-replace operations. Those missed references can surface weeks later as broken links, missing images, or unexpected redirects. Also, if SSL certificates aren’t provisioned before DNS changes propagate, visitors may encounter security warnings or inaccessible sites.
That’s why verified, restorable backups are essential.
Making the right call for your network
The best WordPress Multisite structure is the one that matches how your network will operate long term – not an SEO or branding decision. The choice will affect DNS, SSL, hosting compatibility, analytics, and how difficult future migrations become. Getting it right up front can save significant time, cost, and complexity later.
Planning a new Multisite network or rethinking an existing one without dealing with the migration headaches, DNS guesswork, or SSL surprises that can derail a project after launch? Connect with a Codeable Multisite expert to get the architecture right the first time, backed by a 28-day bug-fix warranty after launch!
Dream It