
Subdomain vs Subfolder for SEO: Which Should You Use?
When adding a blog, shop, help centre or new location section to your website, you can place it in a subfolder (example.com/blog) or a subdomain (blog.example.com). The choice affects site management and can influence SEO. Here is how to decide.
What is the difference?
- Subfolder: a section inside your main domain, such as example.com/blog or example.com/services/roofing.
- Subdomain: a prefix before your domain, such as blog.example.com or shop.example.com. Technically it can be run as a separate site.
How search engines treat them
Google has said it can handle both. In practice, many SEOs find that content in subfolders benefits more directly from the authority of the main domain, because it is clearly part of the same site. Subdomains are sometimes treated more like separate sites, so they may need to build their own authority.
When to use a subfolder
- Blogs and articles meant to support your main site’s SEO.
- Service and location pages.
- Resources, guides and case studies.
- Most situations for small and mid-sized businesses.
When a subdomain makes sense
- A separate application or customer login (app.example.com).
- A help centre or store run on a different platform that cannot sit in a subfolder.
- Different countries or brands managed by separate teams.
- Staging or test sites (which should be blocked from indexing).
Pros and cons summary
- Subfolder pros: shares authority, simpler analytics, one site to manage.
- Subfolder cons: must run on the same platform or need reverse proxy setups.
- Subdomain pros: technical flexibility, separate platforms.
- Subdomain cons: may need more effort to build rankings, more complex tracking.
Migrating from subdomain to subfolder
- Map every old URL to its new URL.
- Set up permanent (301) redirects.
- Update internal links and sitemaps.
- Monitor Search Console for errors.
- Expect some ranking fluctuation for a few weeks.
Our recommendation
For most service businesses, keep your blog and service pages in subfolders on your main domain. Use subdomains only when technology requires it.
Related reading
Submitting your site to search engines Ā· Choosing web hosting Ā· Three kings of SEO Ā· Web design and digital marketing
Need your site structured for SEO?
Eadoz builds service websites with clean structure and content. Book a free meeting or chat on WhatsApp.




