Subdomain vs. subdirectory
Subdomain (blog.site.ru) or subdirectory (site.ru/blog) — the structure choice affects how Google distributes authority and link equity. For SEO, a subdirectory is usually preferable.
A subdomain is a separate third-level domain (blog.example.com) that Google may treat as an independent site. A subdirectory is a section within the main domain (example.com/blog) that inherits the main site's authority.
The difference between a subdomain and a subdirectory
A subdomain is a separate third-level domain: blog.example.com, shop.example.com. Technically and from a DNS perspective, it is a separate host that Google has traditionally treated as an independent site.
A subdirectory (subfolder) is a section within the main domain: example.com/blog, example.com/shop. Content in a subdirectory is part of one site and inherits its link profile and authority.
SEO impact
| Factor | Subdomain | Subdirectory |
|---|---|---|
| Domain authority | Not inherited from main domain | Inherited directly |
| Link equity | Must build from scratch | Receives from main domain |
| Ranking growth speed | Slower for new section | Faster due to authority inheritance |
| Separate brand | Easier to build separate identity | Harder to separate brands |
| Technical setup | Full flexibility (separate server) | Single platform and config |
| Crawl budget | Own crawl budget | Shares budget with main site |
When a subdomain is justified
- Different products or audiences:
shop.example.comfor an e-commerce store andhelp.example.comfor a knowledge base — different functionality and topics - Multilingual sites: some companies use subdomains for language versions (
en.example.com,de.example.com), though hreflang with subdirectories works just as well - Technical limitations: the CMS or platform doesn't support subdirectories on the main domain
- Separate team: the subdomain is managed by a different tech stack or team without access to the main site
When a subdirectory is preferable
- Blog and content marketing:
site.com/blogreceives the domain's link equity and ranks faster - New section on a mature domain: a subdirectory immediately receives authority; a subdomain needs time to build it
- E-commerce categories:
site.com/catalog/shoes— the entire site is perceived as one unified store - No technical limitations: if the platform allows it — always choose a subdirectory
Migrating from subdomain to subdirectory: key considerations
- Set up 301 redirects from all old subdomain URLs to the new subdirectory URLs
- Update sitemap.xml — include the new subdirectory URLs
- Update internal links — replace all references to the subdomain
- Notify Search Console: remove the subdomain as a separate property after migration
- Give Google time to reindex — rankings may fluctuate temporarily in the first weeks
Common questions
Discuss your project?
Share your goals and website context — I will suggest a practical next step.