What is a subfolder?
A subfolder, also called a subdirectory, is a path segment in a URL that groups pages under a section of a site: example.com/blog/, example.com/glossary/, example.com/products/. It is the web's equivalent of a folder on a hard drive, and most sites use several levels of them to organize content: a glossary at /glossary/, a term inside it at /glossary/subfolder/. The alternative structure is the subdomain, where the section gets its own prefix on the domain, as in blog.example.com.
The distinction matters because search engines treat the two differently. A subfolder is part of the main domain, and the authority the domain has earned flows to everything inside it. A subdomain is treated, to a significant degree, as a separate site that has to earn its own standing. That is why the question of whether a blog, a store or a help center should live at /blog/ or blog.example.com is one of the most argued points in technical SEO, and why the answer, for most businesses, is the subfolder.
Why it matters
Why a subfolder matters
A site's authority is its most valuable asset in search, and subfolders keep that asset in one place. Every link earned by an article at /blog/ strengthens the domain that the product pages also live on; every link earned by a product page strengthens the blog. Split the same content across subdomains and the links split with it, so each part of the site ranks as if it were a smaller company. Businesses that have moved content from a subdomain into a subfolder have often reported measurable gains in organic traffic for exactly this reason.
Subfolders also shape how people and search engines understand a site. A clean structure (/our-creations/, /our-friends/, /glossary/) tells a visitor where they are and tells a crawler how the content is related. URLs that read like a sentence are easier to share, easier to remember and easier to trust, and the breadcrumbs that search engines show beneath a result are built from them. Analytics benefits as well: a well structured site can be reported by section in a single filter, so a team can see at a glance how the glossary, the case studies and the service pages are each performing.
In practice
How a subfolder works in practice
- 01
Subfolders are defined by the site's architecture and implemented by the content management system or the web server. A platform such as WordPress creates them from its permalink settings and its page hierarchy, so that a parent page produces a folder and child pages sit inside it. On a custom site they are routing rules. In either case the design decision comes first: a map of the site's sections, with each major type of content given a short, descriptive folder name in plain language, and a limit on depth, since a URL five folders deep is hard to read and signals a page that is buried.
- 02
The practical rules are simple. Use lowercase words separated by hyphens. Keep folder names stable, because changing them means redirecting every page inside. Make each folder meaningful enough that a reader could guess what lives in it. And when a section genuinely needs to be a separate system (a store on another platform, a community forum, a regional site), consider a reverse proxy that serves it at a subfolder before settling for a subdomain.
Watch out
What people get wrong about subfolders
Choosing a subdomain for convenience. Blog platforms, help desk tools and e-commerce systems often default to a subdomain because it is easier to set up, and the site pays for that convenience in split authority for years. The second mistake is restructuring folders casually. Every URL change needs a redirect, and a site that renames its sections every redesign leaves a trail of broken links and lost rankings.
The third is depth for its own sake. Nesting every page five levels down to mirror an org chart produces URLs nobody can read and crawlers treat as unimportant. The fourth is inconsistency: a site with /blog/, /Blog/ and /news/ all serving articles has three sections where it needs one.





