Should you use a subfolder or a subdomain for SEO?

Home / Everything About / Everything About Domains / Should you use a subfolder or a subdomain for SEO?

The subfolder vs subdomain decision has caused more unnecessary traffic losses than almost any other site structure choice. Subfolder vs subdomain SEO is not a matter of preference. It is a structural decision that determines whether the content you publish builds authority for one domain or splits it across two. Most brands get this wrong by defaulting to whatever their platform sets up, without understanding what that choice costs them in search visibility.

The previous chapter covered whether subdomains help or hurt your SEO in general. This chapter narrows the focus. You will learn exactly how subfolders and subdomains differ, what the data shows about each one, when to use which, and how to decide if your current setup needs to change.

What is the difference between a subfolder and a subdomain?

A subfolder is a path that comes after your domain name. If your site is yourbrand.com, then yourbrand.com/blog is a subfolder. It lives on your root domain and is part of the same website in every technical sense.

A subdomain is a prefix that comes before your domain name. blog.yourbrand.com is a subdomain. It looks like part of the same website, but search engines treat it as a separate property with its own authority, its own backlink profile, and its own crawl schedule.

A quick visual comparison

  • Subfolder. yourbrand.com/blog, yourbrand.com/resources, yourbrand.com/shop
  • Subdomain. blog.yourbrand.com, resources.yourbrand.com, shop.yourbrand.com

Both organize content under your brand name. But from a search engine's perspective, those two structures behave very differently.

How do search engines treat subfolders vs subdomains?

Search engine representatives have publicly stated that their systems treat subdomains and subfolders equally. In theory, it should not matter which one you use. In practice, the results do not line up with that promise.

Subfolders share authority with your main domain

When you publish a page in a subfolder, it inherits the authority of your root domain. Every backlink that page earns strengthens yourbrand.com as a whole. Every page you add deepens the topical relevance of the same domain. Search engines crawl all your subfolder content as part of one website, which means your crawl budget is shared efficiently and your internal links pass value across the entire site.

Subdomains may be treated as separate sites

When you publish a page on a subdomain, search engines often treat it as a different website. That means blog.yourbrand.com has to build its own domain authority from scratch. Backlinks pointing to the subdomain do not flow back to your root domain. Your subdomain gets its own crawl budget, its own keyword inventory, and its own place in search results.

The result is two weaker properties instead of one strong one.

What does the data say about subfolder vs subdomain SEO?

The gap between official statements and real-world outcomes has been tested repeatedly. Several well-documented experiments and case studies point in the same direction.

Migration studies favor subfolders

Brands that have moved blog content from a subdomain to a subfolder consistently report increases in organic traffic. One widely cited enterprise case saw organic traffic double after the migration, with the full recovery and improvement happening within 90 days. The pattern repeats across industries. When content that was earning backlinks on a subdomain moves to the root domain, the link equity consolidates and the entire site gets stronger.

Large-scale ranking data supports the pattern

A study analyzing over 11.8 million search results found that subfolders consistently outperform subdomains in organic rankings for content that shares a topic with the main site. The explanation is straightforward. Subfolders concentrate all keyword signals and backlink equity on a single domain, while subdomains scatter those same signals across separate properties.

Leaked algorithm documentation confirms the difference

An analysis of leaked search engine algorithm documentation showed that subdomains are tracked and scored differently from root domains in internal ranking systems. This contradicts the public statements about equal treatment and aligns with what SEO professionals have observed for years.

When should you use a subfolder?

Subfolders are the right choice for any content that should boost the authority and search visibility of your main domain. That includes most of what brands publish online.

  • Blog posts and articles. Your blog is one of the strongest authority-building tools you have. Placing it at yourbrand.com/blog means every backlink a post earns strengthens your root domain.
  • Resource libraries and guides. Educational content at yourbrand.com/resources keeps all that topical depth under one roof.
  • Landing pages. Campaign-specific pages at yourbrand.com/offers benefit from the trust your domain has already built.
  • Product and service pages. Your online store at yourbrand.com/shop keeps product authority consolidated with the rest of your site.
  • Case studies and testimonials. Social proof content at yourbrand.com/customers adds credibility signals to the same domain that your prospects visit.

The rule of thumb is simple. If the content supports your brand's main topic and you want backlinks from that content to strengthen your site, it belongs in a subfolder.

When does a subdomain make more sense?

Subdomains have legitimate use cases. The key is that the content on the subdomain serves a completely different purpose or audience than your main website.

  • Web applications. If your brand runs a software product alongside a marketing website, placing the app at app.yourbrand.com makes technical sense. The app has different code, different user flows, and different performance requirements. Search engines do not need to crawl your login dashboard.
  • Help centers on different platforms. Some brands run their documentation or knowledge base on a separate platform that cannot be integrated into the main site's subfolder structure. A subdomain like help.yourbrand.com is a practical solution when the tech stacks are incompatible.
  • Regional versions with fundamentally different content. If you serve multiple countries with entirely different product lines, pricing, and language, regional subdomains like fr.yourbrand.com can work. But subfolder structures like yourbrand.com/fr/ are equally effective and keep authority consolidated.
  • Staging and testing environments. Development versions of your site belong on subdomains, blocked from indexing. They should never live on your root domain where search engines might accidentally crawl them.

In all of these cases, the content on the subdomain is different enough that it would not add topical relevance to your main domain anyway. That is the distinction.

Should you migrate content from a subdomain to a subfolder?

If your blog, resource center, or any other content that shares your main topic currently sits on a subdomain, moving it to a subfolder is worth considering. The migration data consistently shows traffic improvements after consolidation.

What the migration process looks like

  • Map every URL on the subdomain to its new subfolder equivalent
  • Set up 301 redirects from every old subdomain URL to the new subfolder location
  • Update your internal links across the entire site
  • Submit the updated sitemap to search engine webmaster tools
  • Monitor traffic for 60 to 90 days as the redirects take effect

What to expect during migration

Traffic typically dips for the first two to four weeks while search engines process the redirects and reassign the index. After that, most sites see a recovery followed by a noticeable increase as the consolidated link equity kicks in. The full results usually show within 90 days.

Larger sites with more backlinks tend to see bigger improvements. Smaller sites with fewer backlinks may see a modest improvement or stay about the same. The migration still makes sense in those cases because future backlinks will strengthen one domain instead of two.

How do you decide which one to use?

Run through this checklist before choosing a structure for any new section of your site.

  • Does the content share the same topic as your main site? If yes, use a subfolder.
  • Do you want backlinks from this content to strengthen your main domain? If yes, use a subfolder.
  • Will the same audience visit both this content and your main site? If yes, use a subfolder.
  • Is the content built on a completely different technology stack that cannot run on the same server? If yes, a subdomain may be the practical option.
  • Is the content for a fundamentally different purpose, like an application dashboard or a staging environment? If yes, a subdomain makes sense.
  • Does the content already sit on a subdomain and earn backlinks that could be helping your main domain? If yes, plan a migration to a subfolder.

If you answered "subfolder" to most of those questions, you have your answer. The only time a subdomain is clearly better is when the content is fully independent from your main site.

How does WEMASY structure your site?

WEMASY's website builder uses a subfolder structure by default. Your pages, blog posts, and online store all live under your root domain. Every piece of content you publish strengthens one domain, and every backlink you earn contributes to one authority profile.

If you have a specific reason to use a subdomain, you can configure that through your DNS settings with a CNAME record. But for the majority of brands building their online presence, the built-in subfolder structure gives you the strongest SEO foundation without any extra setup.

See what is included in each plan at WEMASY pricing.

What does the next chapter cover?

This chapter wraps up the subdomain section of this guide. The next chapter shifts to a related question that comes up when brands are choosing a domain name. Should you use an exact match domain, one that contains your target keyword in the domain itself? The answer involves some of the same authority principles you just learned, plus a few traps you will want to avoid.

Frequently asked questions

Does using a subfolder guarantee better rankings than a subdomain?

Can you use both subfolders and subdomains on the same site?

How long does a subdomain to subfolder migration take to show results?

Do subdomains affect how search engines show your site in results?

Is a subfolder structure harder to set up than a subdomain?