
When it comes to SEO in general, when should I use subdomains vs subdirectories (subfolders)?
The subdomains vs subdirectories debate is a bit strange because many people seem to think either one approach or the other should be implemented, when really they are two different animals all together and a combination of using both is appropriate in many situations with respect to search marketing.
The decision to utilize subdirectories and or subdomains can be thought of as a marketing and an information architecture consideration, largely based on how you want your site's content to be recognized by the engines and how you want to position yourself on the web for maximum profitability.
You could think of it like this: a sub directory is like a label to help describe the meaning of a page or group of pages on a website while subdomains are actually separate sites in themselves. For example, you could build up your existing website using subdirectories or you could create a totally new site using a subdomain.
When to use subdirectories
Let me first be clear that subdirectories from a search engine's point of view are simply a cosmetic feature that help make a URL look more structured and logical. Some webmasters will physically create sub directories on their file system to organize pages while other sites, for example sites built in drupal, serve up a URL path containing forward slashes to represent a subdirectory architecture in order to give the appearance of organized content on the server (with that said, you really don't always need to use subdirectories if you wanted to have all pages on your site sitting in the web root). And so, the benefits of subdirectories are...
- Organization - Subdirectories are great for organizing content into meaningful, descriptive URLs. If you're looking to grow your site and categorize content in a meaninful, logical way then subdirectories are a good way to make your URL path's more search friendly.
- For relatively smaller sites, keeping your content in one place will help your site to build initial authority vs spreading too thin with sub domains. Keep in mind that having content spread out across multiple sub domains won't help with any one site's authority/trust.
- Building dominance in one place over time - The more authority and trust a site builds with the search engines the easier it becomes to rank new content for related keyword terms that would have taken you much longer had you started from scratch. New content can be organized by subfolders.
- Easier to manage - Using sub directories can be easier to manage than sub domains for the less technically savvy.
- Basic geo targeting - UPDATE 3-11-10, google webmaster tools now lets us set geo-location preferences to sub directories. The idea is to create a new "site" listing in google webmaster central that also includes the subdirectory, so in addition having a www.domain.com listing you would create an additional listing for www.domain.com/fr (France) or www.domain.com/uk (for the UK) and then set the geo location accordingly. Note that you can't assign an IP to a sub directory, and IP's are generally signals of geo location, so sub domains would likely be a stronger candidate for pure geo targeting.
When subdomains are more appropriate
Remember that Google considers sub domains separate from their parent domains: sub.yoursite.com is considered a different site altogether compared to yoursite.com when it comes to search engine authority. A good rule of thumb is to market content using subdomains when each subdomain needs to be positioned as an expert on the topic at hand, so long as that content is semantically different.
- Different content - If you have a site with many specific themes, topics or products that aren't well related then using sub domains would be a better way to help partition chunks of the site into more categorical sections that search engines can promote. Remember, being a jack of all trades won't help you compete against the expert who dedicates their energy in one area of focus. For example, Google has their news product (news.google.com) and maps product (maps.google.com), and because they're fundamentally different from each other and different than Google's main search product, they aren't mixed together on the same domain.
- Be competitive in many, related areas - If you have the money and resources, then you can promote related themes that self re-enforce each other, say via the site navigation. Consider seobook.com, Aaron Wall wrote a book on SEO (seobook.com). Then take a look at tools.seobook.com: he's targeting "SEO Tools", training.seobook.com targets "SEO Training" and so on. Do a search for "SEO" on wordtracker or keyword discovery's free search tools and you will see each vertical (seo tools, seo training) is a popular topic among searchers. There are several themes Wall is targeting and all themes are connected from the main site's navigation, making it easy for visitors to be exposed to the sub domains - and so each theme/sub-vertical is exposed to the user through the site's navigation. Wall has spent a significant amount of time building each sub vertical because he knows that as his main site's authority grows for the brand of "seo book" related searches it begins to drown out his main site's ability to rank for broader "tools" and "training" related queries, so he built sub domains to become authoritative for just those themes.
- Multiple listings - It's possible, though not always to reap more than the two listing limit for a given query using sub domains in Google. Subdomains can be a good way to snag more brand based searches.
- Target different regional markets more effectively. Sub domains are easier to market to specific geographical regions: you can assign an IP address to a sub domain and even set a geographical preference in Google's webmaster tools for each sub domain (sub directories can have their geo-preference set but can't be assigned an IP in another country, which might also be a signal of geo location).
- Branching out using existing brand strength. If you already have a well established domain and want to expand out into other areas not completely related to your main site's topics then a sub domain might be a good option. At the same time, people associate the sub domain with your main domain's brand, which means it can be easy to build up momentum on a vertical related to your main site.
- What are your business goal? If you plan on growing and then selling portions of your site in the future then using sub domains would make it easier to section off pieces for others to acquire/purchase.
It's a perfectly good idea to organize content using subdirectories on each of your subdomains as well, so using subdomains and subdirectories do actually go hand in hand.
If you've just skimmed this article
If you're just skimming this article and want my executive summary, I'm saying subdirectories and subdomains can each be used to market web content differently, subdirectories describe what individual pages are about and subdomains describe what individual sites are about (Google treats subdomains as separate sites while subdirectories are just part of the same site). You can also say that subdirectories are a more granular way of marketing content via a search engine while subdomains are a more general method. Either way, search marketers can and should be using both, not arguing if one is simply better than the other.
subdomain or subdirectory for local news
Thanks for the great article!
What would you recommend for a news site expanding to local cities? I read something about having a 'link juice' if I just organize them under subdirectories.
I wonder if it is for the same reason HuffPo uses subdirectories. http://www.huffingtonpost.com/los-angeles/
Thanks
Hi Kayle, there are several
Hi Kayle, there are several factors to consider. If your website is small then I would stick with subdirectories if not then subdomains may be the more appropriate option. If you need consulting on the topic you can contact us.
subdomains vs subdirectories
Now that Wordpress 3 has launched you have the opportunity to use either subdomains or subdirectories, I find that subdomains always looks neater but then there is always more work needed relating to 'wild cards' and the configuring of the server
I think I shall only use subdomains for different languages in the future
Thanks for your article it made good reading
SEO Tools
Thanks for the article. Well i was very confused to have subdirectory or subdomain for my blog but i think i should keep it as sub directory now. Thanks.
Great Article
This is a great article on subdomains v subdirectories, but I still can't decide on one or the other. I run a people search site and want to add an extensive public records directory. However, I can't decide on using a subdomain like publicrecords.skipease.com or a subdirectory like skipease.com/publicrecords/ Any opinions on this?
There are many variables to
There are many variables to consider but I might have it sitting in a subdirectory unless you think the "public records directory" is going to target a totally different search market than your root domain.
Regional domains vs. subdirectories
Hi Mike, Thanks for this good article. I just lunching brand new site and I need an advice about regional domains vs. subdirectories. Our site is new (clock-hotel-software.com) and i think that if we create several tdl (co.uk, .de, .bg, .ro and .hr) this will split inbound link to sevaral sites and decrease my ranking. Correct?
The act of creating different
The act of creating different tld's won't split an already existing inbound link profile it's just that you'd need to work on several websites' inbound link profiles instead of just one.
Subdirectory, subdomain or country specific domain
Hi Mike.
I am in the process of building a webshop for our company. We currently have physical shops in several countries in Europe, and the webshop will also be made available in several countries in Europe. We currently have a "brandsite", which we most likely will continue running when the shop is online. This, because we work with fashion, and our marketing team needs a "playground" for all their crazy ideas, whereas I will focus hard on the money and customer aspect. So in the future, at least to begin with, we will have both a brandsite and a webshop. We might eventually melt those 2 sites together.
The question is, which is the right way to go about the domain strategy. My gut feeling tells me I should use country specific domains like www.brand.se over for instance shop.brand.com/se/ or brand.com/se/shop, because it seems that Google would give country specific URL's the most value. I know that going by this strategy I would have extras costs with SSL certificates in the check out flow, but still the SERP value from using country specific domains, would make it the best solution. On the other hand, it seems that using for instance www.brand.com/se/shop could make sense as well since we thereby can transfer PR to the shop directory from the main domain.
What's your take on this?
Hi Flemming, country specific
Hi Flemming, country specific domain names plus geo-targeting in Google webmaster tools can usually be a great to target a specific country. Keep in mind if you geo-target a country then you may miss out on traffic from other parts of the world.
As long as your pages are semantically equivalent I don't see a reason to use separate, country specific domains, I'd go with the subdirectory option. You can still geo-target subdirectories (although geo-targeting may or may not be what your'e after) and inbounds links to one part of the site will benefit other parts, so long as your internal linking is done well.
Subdomain vs Subdirectories
Thanks for this helpful article Mike. While your article is the clearest I've found on the subject, I'm still having a hard time deciding between using subdomains or subdirectories for our international family tree website (http://mundia.com).
We currently have a sub-domain set up for each individual country we're targeting (e.g. http://de.mundia.com for Germany) and within Google Webmaster Tools we've configured each subdomain to target the correct country location. Also when a user enters our main address http://mundia.com they are automatically forwarded to the correct subdomain based on the user's geographic location.
From your article, it would seem that this is a great approach for targeting different regional markets, the down side however is that our site authority and trust is divided between all our subdomains.
However, irrelevant of the users location, the services that we provide on our site are identical and the site is structured in the same way. The only difference is the default language and the fact that on each subdomain, we plan to create landing pages optimized to target language specific search phrases. Based on your comments about semantics, it sounds like you're suggesting it might be better for us to use subdirectories.
It would be greatly appreciated if you could have a quick look at our site and let me know what you think. Another question that I have is in regards to the landing pages. Is it also possible within Google Webmaster Tools to target subdirectories of our main domain to specific countries much as you can do for subdomains? Lastly we have a blog that is currently set up at http://blog.mundia.com. Since this blog will be used primarily for driving traffic to the main site I assume we should move this to http://mundia.com/blog?
Thanks so much for your help!
Hi Tyler, actually as it
Hi Tyler, actually as it turns out Google made it possible for us to set geo-location preferences on sub directories, but after I wrote this post. I've added the update under the sub directories section of the post.
To your question, yes subdirectories do sound like an appealing way to go if your content is semantically the same from language to language version, because inbound links to one area of the site help to create the rising tide effect for the rest of the site (pooling your link equity resources) - but that's moving forward, if you've already got links built up pointing to different subdomains then you will want to 301 redirect those subdomains to the subdirectories on your single site if you do decide to make the switch.
Note that subdirectories can't be assigned an IP address which is also likely a geo location signal, but if you didn't already have IP's in their respective geo locations anyway then I think it's a mute point in your case. Also note that sub domains are generally a nicer way to reap more brand based searches, so if your brand is popular you may want to consider sticking with subdomains.
I would not redirect the user based on geo-location because from what I've seen, Google doesn't support redirecting based on location and only crawls from the United States, so geographic redirection may cause crawling problems. Google also makes the point that many people don't like being redirected automatically: they'd rather choose for themselves.
Another important point, if you geo-target a subdomain or subdirectory then you force that property to receive traffic from that geo-specific area only and are more likely to miss out on language specific traffic (e.g. if you geo-target to France you would then likely miss out on French speaking searchers in Canada, etc.).
Yes, move your blog to live on your main domain.
Confusion reigns
Thanks so much for your thorough response Mike. We've since moved our subdomains to subdirectories. So ar.mundia.com now 301 redirects to www.mundia.com, which then 302 redirects based on the user's geo-location. So to www.mundia.com/ar assuming that the visitor is based in Argentina. Is this an adequate solution, or should we be redirecting directly to www.mundia.com/ar irrelevant of the user's location?
Reading through your previous response again, it would seem that redirecting based on location is not a good idea due to crawability issues. I did not fully understand the reasoning behind this, but am I correct in saying that with our current setup, you expect Google could have difficulty crawling our subdirectories?
With regards to language settings, currently when a new visitor visits www.mundia.com, the site will be presented in the same language as their browser language settings. Of course the user can easily change their preferred language by manually selecting from a drop down list.
One of my biggest concerns with our current approach is the potential of being penalized for duplicate content. Our country home pages are very much the same with the exception that different popular surnames are displayed. My fear is that in Google's eyes we now have content that is too similar replicated within numerous country specific subdirectories. Are these valid concerns and should we be making more of an effort to customize content within the different country subdirectories?
Regarding geo-targeting subdirectories, does it make sense in our case to do this? Is there a benefit in geo-targeting www.mundia.com/mx to Mexico and www.mundia.com/ar to Argentina when the content in these folders is essentially the same and by geo-targeting, we are essentially limiting that URL to being found only in a specific country.
I realize that I've asked more than my fair share of questions, but I'd really appreciate it if you could shed some light on some of these issues for me. Thanks so much!
I checked ar.mundia.com which
I checked ar.mundia.com which now 301 redirects to www.mundia.com which then 302 redirects to www.mundia.com/ar, so you may want to have your team revisit that redirect because it appears to not 301 directly to the destination as you described.
I would not redirect the user to a URL based on their location. If you're going to do a redirect probably best to do that for all visitors, including bots. The idea is that if you show different content to different people based on geo location, some people may not like that, including Google, e.g. redirecting a Spanish speaking user in the United States to an english page while redirecting a Spanish speaking user in Spain to a Spanish landing page - or redirecting a Google bot to one location (who crawled from the US) while redirecting users to a different location.
Even if the content in each one of your subdirectories is semantically the same, as long as that content is written in a different language from subdirectory to subdirectory then you should be ok.
Geo-targeting subdirectories is more of a business decision than an SEO one I would think, but if your visitors come from around the world who speak that language I would not geo-target in that case.
Blogger not accepting ftp - forcing subdomain not subdirectory
Hi there,
I've been setting up blogger blogs for several clients over the years, all integrated into their existing websites, published via ftp to a subdirectory (e.g., the fishing report for the www.fishingportrenfrew.ca site is created with Blogger, but resides at www.fishingportrenfrew.ca/report). Blogger will soon not be allowing ftp, forcing us to use a custom domain/subdomain or move to another platform such as wordpress. My question is, what will the SEO implications be of both options? I.e.., will report.fishingportrenfrew.ca be ranked the same as /report, or will moving to Wordpress to keep the /report subdirectory be the best option?
Thanks for any guidance - I'm a SEO newbie!
Megan
Hi Megan,
Hi Megan, report.fishingportrenfrew.ca and www.fishingportrenfrew.ca/report are locations on two different domains (websites) and this means the engines treat each domain differently from one another in terms of ranking authority. Links pointing to www.fishingportrenfrew.ca/report (or to www.fishingportrenfrew.ca) will not directly benefit report.fishingportrenfrew.ca, however if you can I would 301 redirect www.fishingportrenfrew.ca/report to report.fishingportrenfrew.ca if you can before blogger changes their policy. An even better strategy would be to host your domain www.fishingportrenfrew.ca elsewhere and that way you wouldn't need to 301 redirect anything and you wouldn't lose any ranking authority, you'd just have to migrate your data to a new platform (wordpress is nice and easy to learn).
Your opinion
Hi Mike, Thanks for sharing the great information on subdirectories vs. subdomains. I am working on a test prep site which will eventually cater to more than one type of exam. While the topics are all related (in test prep), would subdomains be more appropriate because my goal is to be viewed as an expert resource in each topic (e.g. GMAT, LSAT, SAT, etc...)? Thanks! Bhavin
Hi Bhavin, you can still have
Hi Bhavin, you can still have all the different tests on a single website and might be the more efficient way to go if you have a relatively new site. Proper internal linking will help the engines understand what different sections are about (GMAT, LSAT, etc.). A lot of the decision to go with sub domains falls under the question of how large or how much traffic you are getting and your webmaster's ability to manage sub domains. For example, in seobook's case it looks like they're leveraging the original authority of the root domain to promote a sub domain (tools.seobook.com) in order to harvest more clicks in the search results.
Yahoo
Hi Mike, Thanks for this article. Finally I've found something easy to understand and makes sense. It seems yahoo refuses to crawl my website. Any suggestion?
Hi Chee, looks like Google is
Hi Chee, looks like Google is indexing (has crawled) your website
http://www.google.com/search?hl=en&safe=off&q=site%3Awww.cheekeong.com%2...
I found this article to be
I found this article to be most helpful. Trying to figure out the best solution between sub.domains vs. sub/directories was so confusing, but after reading this, I now feel I have a better handle on the subject matter. One thing's for sure, there's no one right answer. It all depends on how you want to approach and position your blog. So, after giving it some thought, I now know I want to build trust with my main site, reinforce the brand of my main site, and use my blog to publish content related to my main site. So the best solution for me will be to use a sub/directory. Thanks for this great post!
Hi mike I know I found this
Hi mike I know I found this blog bit late but I am happy to find it finally. my question is that we have a website http://www.otssolutions.com and we are planning to create our website in other languages also so shoul we create a different website for it like http://www.otssolutions.de or we should host it on same url like http://www.otssolutions.com/german ? please suggest me which would b the best
Hi Rohit, see my comment
Hi Rohit, see my comment here
Multilingual site
Hi Mike,
Thanks for such a great article about subdomain vs subfolder. I've been searching for a good advice for so many months. I saw you responded to other people very open-mindedly so I wish to seek your wisdom.
I'm having this site http://jewell.vn which I'm building with 3 languages, which are Vietnamese, English, and Chinese accordingly.
I read the other comments and come to believe that because I'm targeting different languages, which mean different keywords, I'd go for this structure:
http://jewell.vn for Vietnamese
http://en.jewell.vn for English
http://zh.jewell.vn for Chinese would be a good choice.
However, I'm still in doubt of my own understanding, and wish you could confirm that is a good way to do.
Also, which one is be better for the main language Vietnamese? jewell.vn, vi.jewell.vn, or www.jewell.vn?
Come to www subdomain, it means "word wide web" (international) so would it be nice to use that for English instead of Vietnamese?
Thanks in advance,
Binh
using the non-www or www
using the non-www or www won't make a big difference, so long as you stick with one or the other and not allow both versions to be crawled (301 one to the other). I'd go with what you think you'r users will remember, I like the www over the non-www.
Regarding the language strategy, refer to my previous comment. It sounds like you will want to have a single site that is translated into different languages (so the semantics would be the same). In that case I'd stick with a single site and use sub directories - any authority you build in one section will likely help out other sections. It also couldn't hurt to give each language it's own subdomain (you could also geo trarget those sub domains in Google's web master tools), but in that case one language section's authority would not benefit any other sections' authority.
subdomain vs subdirectory for multiple language environment
We are debating moving our distinct language sections into subdomains. Currently they are in subdirectories but we are wondering if for the future subdomains would be the way to go.... Both for linking benefits and ranking benefits.... Would you be able to comment on this?
Subdirectories vs Subdomains
Thanks for your assistance in this regard. It was a complex move to the new URL, things are not very clear in this field relating to multiple language environment. There are many factors which are difficult to face like the difficulty of finding keyword data for other languages....
If the location of your
If the location of your target audience is not a factor (meaning they could be anywhere in the world searching for your product/service) and the semantics of your Spanish section is the same as the semantics of your English section (for example) then best to keep on a single domain in subfolders - in this case you have just a single website in different languages and keep in mind Google doesn't consider a page witten in English that says the same thing as another page written in Spanish to be duplicate - so no duplicate penaltites there.
If the semantics of your content between languages is different or if they offer different services/products in each section then using subdomains would be the way to go - in this case you really have two websites (regardless of which or how many different languages appear on the site).
If the location of your target audience is a factor then you could use a different top level domain (.fr for France/french, .es for Span, etc.) for each language which would signal to the engines that your content would be best suited to show up for those searching in that particuar region of the world. Google wbebmaster tools also allows you to set a geo preference for subdomains, so if you think the content in your spanish section (for example) might be sought after more in Spain, then setting up a subdomain and geo targeting that sub domain is the way to go (if you couldn't buy yourdomain.es)
SubDomains Vs SubDirectories
Thanks Mike for suggestion. I did change my .htaccess file later and i can see all old links of subdirectories to getting redirected to subdomains automatically by web server. I changed back to subdomains and i am happy with these now. Did couple of experiments with Google webmasters and i can play with it whenever it does not index my URLs. Thanks again.
subdomain v. subdirectory for blog
Mike, Thanks for a great post. I have been blogging for a while, and recently wanted to make sure I am maximizing the SEO value for my main site. My blog is currently located at blog.princetoncapitalllc.com, and as I said the main purpose is to get a better ranking for www.princetoncapitalllc.com. I thought this would be an easy question, but it appears as though there is a ton of debate on this, and a log of it contradictory. Even Matt's blog from Google does not appear to really answer the question on which is best for your SEO results. I believe you answered it best, but want to make sure. If your main purpose of a blog is to get better ranking results for your main (www) site, and therefore the blog has similar content to your pages in the main site, it is better to put it in a subfolder than in a subdomain. Correct? Ken
Ken, your best bet is to
Ken, your best bet is to place your blog on your main site (in a subfolder). Google will treat blog.princetoncapitalllc.com separately with respect to www.princetoncapitalllc.com, meaning the ranking authority blog.princetoncapitalllc.com accumulates will not benefit www.princetoncapitalllc.com. By pooling your resources and placing more pages into the index for a single domain, that domain will gain more "trust" and ability to rank for other, related keywords you didn't necessarily plan on.
BLog on Subdomain vs. Subdirectory
Great response Ken! I have been consulting with several companies and was thinking on the novelty of doing their blogs as subdomains or subdirectories. It looks as if I will stick with subdirectories as this will improve their main site SEO. Thanks for sharing!
Debate on Matt Cutts Blog
http://www.mattcutts.com/blog/subdomains-and-subdirectories/ In this Matt comments that google will be penalising sites who spam the index using subdomains and linking from one to the next or even 301 redirects..I see no eveidence of this however....and there are many sites out there ranking highly who use subdomains to deliver content JUST for Google...it all seems like a contradiction...Google's own PR guy (effectively), says dont spam via subdomainsand dont produce content just for the search engines, but doing so clearly works!!!
I think subdomains are a
I think subdomains are a great way to publish content for the purpose of targeting a sub niche relative to it's parent domain. If you produce relevant content and make it accessible via SEO then you have a winner. Spamming any index is a bad idea, no matter how you do it.
subdirectory or subdomain
Hi Actually we want to create our site for different language, we confused that which one would be better but after doing lot of search on net and reading Matt article we approached subdirectory and we are getting good result on our targeted keyword offshore programming in google and other search engine as well, so this really very nice discussion to clear my confusion.
SubDirectory Vs Subdomains - took away my URL indexing
Thanks Mike for your article but i had very different experience while switching from subdomains to subdirectories. Can you/anyone please analyse and help me in choosing correct approach.
I started with www.idlefolks.com and had multiple subdirectories like uk.idlefolks.com or bangalore.idlefolks.com. I can see that google was relaxed while indexing the URLs. I thought that i am not getting that recognition to my root domain even though i am getting noticeable traffic on root as well as on subdomains.
Later i changed my subdomains to subfolders (i.e. www.idlefolks.com/uk) so that google can see traffic and give me higher ranking in search. To my amazement, google has stopped doing indexes of my old/new URLs from my sitemaps (may be old URLs/duplicate URLs are still active in its indices).
I am not able to figure out if i go back to subdomains or have patience now with subdirectories. Please help.
Thanks
Saching
Saching, did you 301
Saching, did you 301 redirect your subdomains (and all pages under the subdomains) to your new subfolders on your root domain? It looks like Google cached your home page on January 23rd, so I don't think there is any major penatly going on with your root domain.
Post new comment