Hyphens in URLs: Good or Bad for SEO?

by Canonical SEO on September 30, 2009

Hyphens in URLs and SEO

People frequently ask whether or not using hyphens in a URL is good or bad for SEO.  It is probably one of the most frequently discussed topics on SEO forums around the web and is often one of the first questions asked by new webmasters. So I thought I would do what any red-blooded SEO would do… and toss out my opinions on the topic. 

Hyphens in URL folder and page names – The Good! 

I like using hyphens as word separators within folder and page names in the URLs of my sites.  I do so primarily for the benefit of my users.  I also do it to give the search engines a hand by explicitly indicating how they should parse my URL’s folder and file names into their targeted keywords.  After all, I wouldn’t want them interpreting “expertsexchange” as “expert sex change” when I meant it to be interpreted as “experts exchange”, or visa versa I guess!

Since search engines typically display your URL as part of your organic listing in the search engine results pages (SERPs), a keyword rich URL can give users strong clues about what they can expect if they click on your link.  In other words, it can affect click-thru-rates and therefore traffic. Using hyphens in the URL to explicitly separate words in the folder and file names makes it VERY easy for a user to read the words in the name of your folders and pages.  URLs without hyphens are not always so easy to read if youcramthewordstogether. 

Yeah!  Yeah! Yeah!  I know!  Having hyphens in the folder or page name portion of the URL does make the URLs harder to remember and type.  But how often do you really think a user is going to remember the entire URL to some inner page 3 levels deep in your site and actually type it into the browser address bar?  Almost never!  So having hyphens in the URL doesn’t really hurt the user experience in any way… it only helps by making the URL more readable. 

Also, every search engine that I am aware of treats hyphens in the URL as word separators.  Using them makes it easy for search engines to match keywords in the URL to keywords in the search phrase.  While it likely doesn’t make any noticeable difference from an SEO perspective, having hyphens in a URL’s folder and page names certainly doesn’t hurt your rankings in the SERPs, and provides a benefit to users.  

I would, however, suggest keeping folder names short so that they have one, maybe two, hyphens at most.  For page names on the end of a URL I don’t worry so much.  This is quite common since most blog themes and templates convert the post title to a page name by replacing spaces and punctuation with a hyphen.  Just make sure that the URL does not appear spammy. 

Hyphens in the domain name of the URL – The Bad! 

I am typically a strong advocate of NOT using hyphens when selecting a web site’s domain name.  Deciding on a domain name is one decision where usability benefits almost always outweigh the SEO benefits. 

I usually try to select domain names with usability in mind.  I try to select domain names that are: 

  • short,
  • easy to remember, and
  • easy to type. 

Having hyphens in the domain name portion of the URL is counter-productive to all three of the above usability goals.  

Of all of the URLs on your site, the one URL that a user is most likely to remember is the home page URL… in other words, the domain name.  So it is important to make it as easy to remember and type as possible.  Having a short domain name without hyphens also makes it easier to speak your domain name when telling others about your site. 

Webmasters and budding SEOs get hung up on having keywords in their domain name, which is one big reason for the proliferation of domains with hyphens.  But what most don’t realize is that they will ONLY get a noticeable boost in rankings when the domain name is an EXACT match for the search phrase.  Domains that only provide a partial match for the search phrase typically yield no more of a boost than having the same partial match to keywords in the folder or page name portion of the URL. So keyword rich domain names containing multiple keywords (with or without hyphens) are going to boost your rankings for at most a couple search phrases – “keyword1keyword2keyword3″ and “keyword1 keyword2 keyword3″. 

NOTE:  The one exception where one might want to consider using a domain name with hyphens is if their plan is to ONLY promote the site online, if there is no desire or expectation of promoting repeat visits to the site by the same users, if they have no desire to create any type of brand awareness for your site, if they are okay with users ONLY being able to find their site via a search engine, and if the non-hyphenated version of the domain name is not available. 

So there you have it.  That’s my take on the whole “Hyphens in the URL” debate! The good, the bad… and well I am the ugly!

{ 5 comments… read them below or add one }

e11world February 3, 2010 at 8:09 pm

Well written article. I didn’t really think of the hyphen as being a good thing (better than under scores) in file/folder names.
I think I’ll actually change the way I write my file/folder names to using hyphens more. Possibly for my id’s and classes as well.

Salman qamar July 20, 2010 at 2:04 pm

A very nicely explained article about the hyphen confusions in mind.

John November 17, 2010 at 1:25 am

Thanks for your take – I have several domains with hyphens, but i also try to get them without as well although it is not always possible.

Tom Elliott January 5, 2012 at 10:22 am

From an SEO point of view, I think too many hyphens in a domain name could have a negative effect as they could look more like SPAM to Google. I’ve never noticed 1 or 2 hyphens to be an issue though.

Having said that, SEO Moz domain Spam checker seems to think otherwise with 1 hyphen adding quite a lot to the SPAM score
http://www.seomoz.org/labs_tools/spam-detection/

Canonical SEO January 5, 2012 at 11:16 am

Thanks for stopping by Tom. I haven’t seen issues with 1-2 hyphens in a domain name either. I own a few hypenated domains, but generally I almost always go with the non-hyphenated versions. I do agree that having 3, 4, 5 hyphens in a URL definitely “looks” spammy to me, but I’m not sure Google’s algorithm treats them any differently. I mean, there are people who are inexperienced with the Internet and SEO who buy domains like this-is-my-long-tail-domain.tld not knowing any better. I find it hard to believe that Google would penalize them simply because they had 4-5 hyphens in their domain.

I personally think .info, .biz, .org, .net all look much less legitimate (and much more prone to spammy, thin content sites) than a .com domain. 99% of the time the ONLY reason people buy domains with those TLDs is because the .com is already taken. Should they be penalized because they fit the “profile” of a spammy domain name? Google “says” they are TLD agnostic – all TLDs are treated equally. If this is the case then I have to believe that hyphenated and non-hyphenated domains would be treated the same since both are “valid” domain names.

I take SEOmoz tools and other tools like theirs with a grain of salt. They are not Google. Their spam detector is not the same as Google’s. It’s the product of Rand Fishkin’s opinions and the opinions of others on their staff that have input into the development of the tools. Those minds, while great minds, are totally different than the minds of those PhDs at Google coming up with Google’s algorithm.

But again… as with everything. We’re just guessing. The real test would be to buy a domain with 4 or 5 hyphens and another matching domain with hyphens, build out a similar site for each, and try to make them both rank for the same long tail phrase. See if you have issues making the domain with hyphens rank as opposed to the one without hyphens.

Since I rarely buy hyphenated domains, I simply haven’t been inclined to invest the time and effort to “prove” my theory that they would be treated the same.

Leave a Comment

Previous post:

Next post: