Daniel Burstein

Subfolders, Subdirectories and Subdomains: The URL difference that can drive a major increase in organic traffic

March 28th, 2018
Share

We were recently asked if it’s better to use a subdirectory (also known as a subfolder) or a subdomain on a website.

If you’re unfamiliar with these two terms, you’ll know them right away when you see URL examples.

A subdirectory looks like this: marketingsherpa.com/freestuff.

A subdomain looks like this: sherpablog.marketingsherpa.com. Even www.marketingsherpa.com/ is technically a subdomain.

The difference may seem like an esoteric or gorpy concern that only developers and programmers care about. After all, why should the URL matter anyway? Most people are just clicking on links. And occasionally when they actually have to type one in (say, from a newspaper ad), you’re creating a vanity link that redirects to the actual URL anyway.

Well, search engines may care. A lot. Even if they claim they don’t. And the experts I asked said that subdirectories are almost always the better option.

When to use subdirectories

“From a ranking authority perspective, a subdirectory is just a page on a website that inherits all the existing brand and domain equity from the root domain. A subdomain, on the other hand, would be starting from scratch … apart from some vague affinity to the core domain,” Eli Schwartz, Director of SEO & Organic Product, SurveyMonkey, told me.

Schwartz provided Medium as an example. Every blog post is a subdirectory and can benefit from Medium’s ranking ability.

On the other hand, if you create a new blog on WordPress, your blog would have its own subdomain and not benefit from WordPress’s domain history.

“Content that’s placed in a subfolder will almost always perform better in Google (and Bing and DuckDuckGo) than the same content placed in a subdomain,” said Rand Fishkin, Founder, SparkToro (and former Wizard of Moz).

While Google is officially agnostic on subdomains versus subdirectories, Google talks about SEO like the Federal Reserve provides testimony on interest rates — lots of implying, very little direct promises or specifics.

In real-world practice, though, Rand has seen plenty of examples of organic traffic gains by changing from a subdomain to a subdirectory. A few examples:

“It’s damn hard to argue that there’s ‘no difference,’” Rand said.

Beyond SEO, there are other benefits to subdirectories as well.

For one, subdirectories don’t require cross-domain tracking and can be easier to track in analytics. Much like search engines, many analytics platforms treat each subdomain like a unique site. That doesn’t make tracking across subdomains impossible, but it does make it more complex to set up. You usually have to do more than the standard analytics install which, if you’re using subdirectories, can be as easy as pasting a tracking code snippet into your website’s code.

Another benefit of subfolders is usability for your visitors. “They make for cleaner web URLs that are easier for most people to visually parse — and processing fluency is correlated with more sharing, more clicking, more of all the things website owners want,” Rand said.

When to use subdomains

At MarketingSherpa, we like to take a balanced approach to issues. So while subdirectories/subfolders are probably the best approach for most of our readers, I still had to ask if there are any instances where using a subdomain is the best approach.

Rand mentioned that subdomains are the right way to go in only a very small number of cases:

  • When it’s very technically challenging (or near impossible) to use a subfolder; e.g., when you install third-party tech on your site to host content, a subdomain is often vastly easier. That’s why Hubspot and others like them do it this way.
  • In certain cases of international targeting or multi-language targeting, subdomains can be useful, e.g., es.yourdomain.com for the Spanish version of your site (with appropriate hreflang tags, etc.)
  • When you have a CMS (content management systems) that allows others to create their own websites on your site, e.g., yoursite.wordpress.com or yoursite.tumblr.com

 

You can follow Daniel Burstein, Senior Director, Content & Marketing, MarketingSherpa and MECLABS Institute, on Twitter @DanielBurstein.

You might also like …

SEO Tactics Chart: Creating content is the most-effective tactic — here’s how to get started

Link Building: 5 tactics to build a better SEO strategy

Subscribe to the MarketingSherpa newsletter — Don’t leave it to the search engines to luck into content like this from MarketingSherpa. Subscribe to our newsletter to get helpful information sent straight to your inbox.

Daniel Burstein

About Daniel Burstein

Daniel Burstein, Senior Director of Editorial Content, MECLABS. Daniel oversees all content and marketing coming from the MarketingExperiments and MarketingSherpa brands while helping to shape the editorial direction for MECLABS – digging for actionable information while serving as an advocate for the audience. Daniel is also a speaker and moderator at live events and on webinars. Previously, he was the main writer powering MarketingExperiments publishing engine – from Web clinics to Research Journals to the blog. Prior to joining the team, Daniel was Vice President of MindPulse Communications – a boutique communications consultancy specializing in IT clients such as IBM, VMware, and BEA Systems. Daniel has 18 years of experience in copywriting, editing, internal communications, sales enablement and field marketing communications.

Categories: Search Marketing Tags: , , ,



We no longer accept comments on the MarketingSherpa blog, but we'd love to hear what you've learned about customer-first marketing. Send us a Letter to the Editor to share your story.