Blog / Technical SEO /

Subdomain or subfolder for your blog?

“Should the blog live at blog.example.com or example.com/blog?” Every business planning a content hub asks it, usually after reading two confident articles that disagree.

Here’s the calmer answer: there’s no universal SEO rule that makes one rank better. Both can work. The decision depends on how the site is managed, how content supports the business and who maintains the technical setup. A subfolder keeps the blog under the main domain, and a subdomain creates a separate hostname. Pick the one your team can run consistently and connect clearly to the rest of the site. Moving an established blog later is disruptive, so don’t switch because of a slogan.

What is the difference?

A subfolder places content under the same hostname, such as example.com/blog/. A subdomain uses a separate hostname, such as blog.example.com. Both addresses can host a complete website, and both can be crawled and indexed by search engines.

A subfolder is usually easier when the blog shares the main site’s CMS, design system and publishing process, since it can use the same navigation, analytics and configuration. A subdomain makes sense when the blog runs on another platform, has its own team or needs an isolated deployment.

Neither choice automatically passes on or loses ranking signals. Search engines weigh many signals, and the outcome depends on implementation and content. I don’t trust claims that a subfolder always ranks better, or that a subdomain is always treated as a different company.

Choose based on the publishing setup

Ask who writes and approves articles, which CMS they use and how the blog links to products or services. If one team manages both areas in one CMS, a subfolder cuts friction. If a separate editorial platform is required, a subdomain may be more practical.

Look at technical ownership too. Who controls DNS, certificates, hosting, redirects and deployments? Can the team publish routinely without waiting on a developer? An elegant structure the organisation can’t support is a poor fit. On any site I take over, DNS access is the first thing I ask for.

Think about analytics and consent. A subdomain can need careful cookie and cross-domain settings. Check how sessions and referrals will be reported. With a subfolder, make sure filters and content groupings separate blog activity from other sections.

Make the relationship clear

Either way, tie the blog to the main site with consistent branding, navigation and useful internal links. A reader should know who publishes it and how it relates to your products or services. A blog that feels like an unrelated site should be a deliberate choice.

Use descriptive URLs and a clear category structure. Link from relevant articles to the pages that help readers take a next step, and link back to useful guides from product or service pages. Not every article needs a link to every commercial page. Relevance beats volume.

Make sure each section is covered by a sitemap. Check canonical tags, robots directives and Search Console properties. A subdomain may need its own verification and reporting, while a subfolder can be filtered inside the main property. Either way, inspect the rendered URLs and confirm pages are indexable only when you mean them to be.

What to consider before migrating

Moving from a subdomain to a subfolder, or back, changes every URL. Inventory the pages, backlinks, analytics, internal links, canonicals, sitemap entries and redirects. Map each old URL to its closest equivalent, and never redirect every article to the blog homepage.

Test the redirect plan on staging or a small sample. Look for chains, loops, missing pages and wrong protocol or hostname versions. Keep the old URLs redirecting and update internal links so the site doesn’t depend on redirects for its own navigation.

Agree the timing with the team and monitor the change. Verify the old and new locations in Search Console as needed, then check crawl and indexing reports, analytics and key landing pages after launch. Processing takes time, and a short-term wobble doesn’t tell the whole story.

If your current structure works and content is growing, I’d leave it alone. Move only to solve a real operational or user problem, not because another SEO article calls one structure superior.

A simple decision framework

Choose a subfolder when the blog belongs to the main site, shares the CMS and can be managed there reliably. Choose a subdomain when the technical or organisational separation is real and the team can maintain it. If either works, take the one that makes publishing, measurement and user journeys clearest.

Write the decision down, with the implementation requirements, so a future redesign doesn’t change URLs casually. Record the blog’s location in the content plan, the analytics setup and the technical ownership notes.

Treat a migration as a whole-site change

A move touches more than the blog address. Inventory every article URL, image, feed, analytics property and external integration before moving anything. Keep redirects one-to-one where possible and update internal links so visitors don’t make needless hops. Test the redirect plan before launch, not while the old site is already disappearing.

Also decide who maintains the new setup. An attractive structure becomes a burden if the people publishing can’t reach the right tools, or the hosting team can’t support it. The best structure is the one your team can explain and operate, not the one promising an automatic ranking advantage.

Before you create the blog, sketch the path from a useful article to the business page it should lead to. Which URL structure keeps that path easiest to maintain?