Technical SEO / site architecture

Subdomains vs Subfolders for SEO

Choose the boundary that matches content ownership, infrastructure, and site identity, then validate the controls and migration work that follow.

A communications lead and developer comparing an integrated site section with a separately managed web property

Direct answer: Google says it has no indexing or ranking preference between subdomains and subfolders. Use a subfolder when the section belongs to the same audience, brand, navigation, editorial system, and measurement model as the main site. Use a subdomain when the section genuinely needs a separate operational boundary, such as independent ownership, security, deployment, platform constraints, or site identity. A different CMS alone is not enough. Do not move established URLs between them only to chase a presumed authority boost.

Terminology: blog.example.com is a subdomain. example.com/blog/ is a subfolder, also called a subdirectory.

This guide decides whether content belongs inside one site boundary or on a separately managed host. It does not choose between static and dynamic publishing, design individual slugs, or execute a migration. Those jobs belong in the website architecture comparison, the SEO-friendly URL guide, and the site migration checklist.

The decision in one table

ConditionUsually preferReason
One organization publishes for the same customers under one brandSubfolderShared navigation, templates, analytics, and governance stay simpler
A section has a separate team, platform, release cycle, and operational budgetSubdomainThe URL boundary reflects a real management boundary
A blog or resource library supports the same commercial journeySubfolderReaders can move through one coherent site without an artificial split
An application or portal has different security and deployment requirementsSubdomainIndependent hosting and browser-origin controls may be useful
A vendor can only host a help center on its own subdomainSubdomain, if integration is soundPlatform reality can outweigh a theoretical preference
The only argument is “subfolders inherit more SEO authority”Do not moveGoogle states that it has no ranking preference between the two structures

The default is not a universal SEO rule. It is a cost-of-coordination rule. Keep one site together when the work is genuinely shared. Split it when independent ownership is valuable enough to justify separate controls and migration responsibility.

Why SEOs still debate this

A team may move a blog from a subdomain into a subfolder and see traffic grow. That before-and-after result can be real without proving that the folder itself received an inherent ranking advantage. The migration may also improve internal links, navigation, crawl paths, templates, content maintenance, canonicals, page speed, and how closely the section is integrated with the main site.

To identify the cause, compare what changed besides the hostname and path. A successful migration is evidence that the new implementation worked better as a system. It is not evidence that every subdomain should move, especially when Google's explicit guidance still says it has no indexing or ranking preference between the two structures.

1. Decide whether this is one site or two operating systems

Start with the reader and business relationship. A resource section that explains the same services to the same customers is normally part of the main site. A customer application with authenticated workflows, a separate product team, and different uptime requirements may be a separate operating system even when it uses the same brand.

Write a one-sentence page job for the proposed section and answer:

Google can show site names for domains and subdomains, while subdirectories remain sections of a domain-level site. That does not guarantee a separate displayed name, but it makes site identity a legitimate product consideration rather than a ranking tactic.

2. Map ownership before URL structure

A subdomain creates more places where responsibility can drift. Name the owner for DNS, TLS certificates, hosting, deployments, monitoring, access, templates, content review, redirects, robots rules, sitemaps, Search Console, analytics, incident response, and eventual retirement.

ControlSubfolder modelSubdomain model
DNS and TLSUsually inherited from the main hostHostname and certificate coverage need explicit ownership
PublishingOften one CMS, generator, or proxy contractCan use an independent platform and release cycle
Navigation and templatesShared components are easier to keep consistentCross-system consistency needs a maintained contract
Crawl controlsOne host-level robots file can govern pathsEach host needs its own valid robots policy
MeasurementPath filters and URL-prefix properties can isolate the sectionDomain properties aggregate it, while host-specific views need filters or separate properties
Failure and rollbackA shared release can affect the whole siteFailures can be isolated, but cross-site journeys can still break

If nobody owns the additional controls, the subdomain is not independence. It is unmanaged duplication. A subfolder can also hide ownership problems, but it normally keeps fewer infrastructure surfaces in play.

3. Compare publishing and browser boundaries

A subfolder can still run on a different application through a reverse proxy, edge worker, or routing layer. A subdomain can still share a CMS and design system with the main site. The visible URL does not dictate the backend, so compare the complete delivery path rather than assuming one structure fixes platform limitations.

Subdomains are different browser origins because the hostname changes. That can affect authenticated requests, cross-origin resource sharing, embedded tools, storage, and how cookies are scoped. This separation may be desirable for an application or risky surface. It also adds integration work when navigation, forms, personalization, or account state must cross the boundary.

Use a prototype with the intended production topology. Test login handoffs, forms, consent behavior, shared assets, fonts, canonical output, response headers, and failure states. A vendor demo on its default hostname does not prove the branded subdomain will behave correctly.

Google's crawling and indexing FAQ says to choose whichever structure is easiest to organize and manage because Google has no preference for indexing or ranking. This does not make implementation irrelevant. Pages still need crawlable links, useful content, stable responses, consistent canonicals, and accurate sitemap entries.

Do not describe a subdomain as either completely unrelated or automatically equal to a folder. Google can crawl and rank both. Your actual link graph, site identity, content quality, and operational consistency determine how usable the architecture is.

5. Apply the boundary to common cases

Blog or learning center

Prefer a subfolder when the content supports the same products, services, authors, and conversion journey. Use a subdomain when a genuinely separate publication has its own audience, editorial leadership, brand identity, and release system. A different CMS alone is not decisive because routing can sometimes preserve a subfolder.

Help center or documentation

A subfolder keeps documentation close to the product site and can simplify the journey from explanation to action. A subdomain is defensible when a documentation platform, release cadence, versioning model, or technical owner is separate. In either case, maintain contextual links between product pages and the exact help articles users need.

Store, marketplace, or regional site

Keep the store in a subfolder when it is one part of the same brand and customer journey. Use a subdomain when commerce infrastructure, legal operation, catalog ownership, or availability rules require a separately managed property. For international content, Google supports multiple URL structures. Language-specific URLs, accurate localized content, and hreflang implementation matter more than a presumed subdomain advantage.

Customer application or account portal

A subdomain often matches a separate application, authentication boundary, deployment process, and support owner. Most private account pages should not become search landing pages. Keep public marketing and documentation decisions separate from authenticated application routing.

6. Prove the design before you move anything

Build a representative proof before changing established URLs. Include a homepage or section root, one article or document, one conversion page, one error route, and one page with shared navigation. Record the expected host, path, status, canonical, robots rule, sitemap source, owner, and Search Console view for each.

Section purpose:
Audience and site identity:
Preferred structure: SUBFOLDER / SUBDOMAIN
Content owner:
Platform and deployment owner:
DNS, TLS, robots, sitemap, and Search Console owner:
Shared navigation and inlink sources:
Failure and rollback plan:
Existing URLs affected: YES / NO
Decision date and reviewer:

If the proof requires fragile rewriting, duplicated templates, manual cross-posting, or an owner who does not control the platform, record that cost before approval. The cleanest-looking URL is not the best architecture when nobody can operate it reliably.

7. Treat an existing structure change as a migration

Moving from resources.example.com/page to example.com/resources/page, or the reverse, changes every affected URL. Google processes site moves per URL and warns that visibility can fluctuate while old and new URLs are recrawled and reindexed. A permanent redirect can transfer signals, but it does not remove implementation risk.

  1. Inventory the current URLs, traffic, links, canonicals, robots rules, sitemaps, and templates.
  2. Create a one-to-one old-to-new map with relevant final destinations.
  3. Test the new host or path, including capacity, rendering, forms, structured data, and mobile output.
  4. Implement direct permanent redirects and update internal links, canonicals, hreflang, sitemaps, feeds, and campaigns.
  5. Verify the relevant Search Console properties and monitor both old and new URL sets.
  6. Keep redirects for as long as practical, generally at least a year according to Google's site-move guidance.

Change one major variable at a time. Do not combine the host move with a redesign, CMS replacement, content purge, and measurement rewrite if you need to diagnose the result.

What not to do

Verification checklist

The durable choice is the one your team can publish, secure, measure, link, migrate, and retire correctly. Structure follows ownership. It does not manufacture ranking value by itself.

Evidence basis

Google Search Central, Search Console, and browser-origin documentation were checked on August 30, 2026. The ownership map, common-case decisions, and proof record are FloxoLab implementation frameworks.

Need a defensible site-boundary decision?

FloxoLab can map ownership, platform constraints, search controls, and migration risk before a URL structure becomes expensive to reverse.

Explore the SEO audit