Blog on a Subdomain vs Subfolder: Which Is Better for SEO?
Subdomain or subfolder for your blog? Here's what Google actually says, when each one wins, and how to launch a subdomain blog without a CMS.

Short answer: Google says both work, and it has no ranking preference. A subfolder (yoursite.com/blog) keeps your content and links under one roof, so it's often the better choice when your main site can host it cleanly. A subdomain (blog.yoursite.com) is the easier, safer pick when your website platform can't run a blog well, or you don't want the blog touching it. For most small businesses, the deciding factor isn't the URL. It's whether you'll actually publish every week.
What a subdomain and a subfolder actually are
A subfolder (also called a subdirectory) is a path on your main domain: yoursite.com/blog/. The blog runs on the same hostname as your homepage, usually on the same platform.
A subdomain is a separate hostname that sits under your domain: blog.yoursite.com. You create it with one DNS record, and it can point to a completely different server or service.
| Subfolder | Subdomain | |
|---|---|---|
| Example | yoursite.com/blog | blog.yoursite.com |
| Runs on | Your main site's platform | Any platform you like |
| Setup | Built in, or needs a reverse proxy | One DNS record |
| Risk to main site | Shared, so a broken plugin hits both | Isolated |
| Link signals | All in one place | Need internal links to connect |
How Google treats each one
Google's official line is plain. Its Search Central help docs say to choose "whatever is easiest for you to organize and manage", and that Google has no preference for indexing or ranking. Google's John Mueller has said the same thing many times: Google generally sees the two the same.
So why do so many SEOs still push subfolders? It comes down to practical effects, not a penalty:
- Consolidation. Links pointing at a subfolder blog sit on the same hostname as your product pages. With a subdomain, you have to connect the two with deliberate links.
- Crawl warm-up. A brand-new subdomain can take a little longer for Google to crawl often than a new folder on a site it already knows.
- Migration stories. You'll find case studies of traffic jumps after moving a blog into a subfolder. Treat them with caution. Those moves usually come with redirects, fresh content and cleanup, so the URL change isn't the only variable.
The honest takeaway: a subfolder has a small structural edge. A subdomain is not bad for SEO and does not get penalized. A well-linked subdomain blog that publishes every week will beat a neglected subfolder blog every time.
When a subfolder is the better pick
Go with /blog when all of these are true:
- Your main site runs on a platform with a decent built-in blog (WordPress, Shopify, Webflow and similar).
- You or someone on your team is comfortable managing it: themes, plugins, updates.
- The blog content is closely tied to your product pages, and you want everything to feel like one site.
- You're starting fresh, so there's nothing to migrate.
If your site already has a blog in a subfolder and it works, leave it there. Moving costs you time and redirects, and buys you nothing.
When a subdomain is the easier, safer choice
A subdomain makes sense when the subfolder route causes friction:
- Your site builder can't blog well. Some platforms have weak blog tools, poor control over titles and meta tags, or no way to send a path like
/blogto another service without a reverse proxy. - You don't want to risk the main site. A store or SaaS app that makes money shouldn't break because a blog plugin updated badly. A subdomain keeps them apart.
- Different tech, different team. If an agency, a freelancer or a tool runs the blog, a subdomain lets them work without access to your main site.
- Speed to launch. One DNS record and you're live. No developer ticket.
The tradeoff is that you have to do the connecting yourself. That's easy, and the next section covers it.
How to set up a subdomain blog without a CMS
Here's the setup, start to finish.
1. Add the DNS record
In your domain registrar or DNS provider, add a CNAME record for blog pointing to your blog host. Make sure HTTPS works on the new hostname before you publish anything.
2. Get the SEO plumbing right
Each subdomain needs its own basics:
- An XML sitemap listing every article, linked from the subdomain's robots.txt
- An RSS feed so readers and aggregators can follow you
- schema.org Article markup so search engines understand each post
- Clean titles, meta descriptions and canonical tags on every page
3. Tell Google about it
In Google Search Console, a Domain property covers every subdomain at once, so you see blog and main-site data together. Submit the blog sitemap there.
4. Link the two sites both ways
This is the step people skip, and it's the one that closes most of the gap with a subfolder:
- Put a "Blog" link in your main site's navigation or footer.
- Link from blog articles to the relevant product, service or pricing pages.
- Link between related articles on the blog itself.
- Match the blog's look to your brand so visitors feel they never left.
5. Publish on a steady schedule
A blog with three posts from last spring helps no one, whatever its URL. Pick a pace you can keep, like one or two articles a week, and stick to it.
If you'd rather not handle any of this, AIToRank hosts your blog on blog.yoursite.com with the sitemap, RSS, schema.org and internal links already built in, and publishes two articles a week in your brand's style. Either way, pick the structure you can run without friction, then put your effort into the articles.

