homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

Which keyword separator is better in url - dash or underscore?

 8:00 am on Jan 9, 2007 (gmt 0)

Which parameter is better to differenciate url page names?
a) Hyphens (-)
b) Underscores (_)

Which is better and how?




 4:53 pm on Jan 9, 2007 (gmt 0)

The hyphen is still better, as I see it, but by a slim margin.

Google has traditionally considered the underscore as a true character and not a separator. They did this so people can directly search on technical keywords that contain the underscore character, such as _borders or mod_rewrite.

Google has done some fancy dancing in more recent times, in order to use the relevance signals that are present in underscore separated file names. However the hyphen still seems to have a slight edge. It's not enough of a difference to bother changing established urls, but if you're creating a new file, I see hyphens as the way to go.

By the way, don't be misled by the way words are presented in bold on the final SERP. That's a simple character-match routine, run after the SERP is generated for a query. It does not indicate that the bolded word was actually used in the scoring.


 5:01 pm on Jan 9, 2007 (gmt 0)

I searched some competetive terms on google.com and saw underscores (_) domains ranking much better as compared to the one's with hyphens (-)



 5:22 pm on Jan 9, 2007 (gmt 0)

I must be hanging out here too long because I've seen this question asked several times now. If you're talking about Google, then I'd go with Matt Cutts advice on underscores and dashes [mattcutts.com].

With underscores, Google's programmer roots are showing. Lots of computer programming languages have stuff like _MAXINT, which may be different than MAXINT. So if you have a url like word1_word2, Google will only return that page if the user searches for word1_word2 (which almost never happens). If you have a url like word1-word2, that page can be returned for the searches word1, word2, and even "word1 word2".


 5:27 pm on Jan 9, 2007 (gmt 0)

The post by Matt Cutts you are mentioning belongs to
August 25, 2005 @ 12:29 am

I see some major sites related to my industry using underscores (_) and they rank very well.

Means the post by Matt Cutts is no more relevant


 5:29 pm on Jan 9, 2007 (gmt 0)

The choice of separator is a very minute part of the scoring algo.


 5:38 pm on Jan 9, 2007 (gmt 0)



 6:45 pm on Jan 9, 2007 (gmt 0)

After reading up on some threads like "why are underscores pages beating hyphens" in the serps and other such nonsense....

err... perhaps the content is better? Perhaps the better placed page is more semantically correct and optimised for long tail? Perhaps it is linked to from high pr sources? Perhaps it is because of more anchor phrase returns in links pointing to it?

The name of your file is virtually unimportant. Sure if you want to squeeze 100% out of your page, then consider looking at it.

But would you not be better off making the actual content better and getting links to this page (from both your own site and external)? Wouldnt it be better also to experiment with your title element and meta description?

I think your time is better served on the above rather than spend hours examining underscores etc.

Experience tells me they all work to some extent - so concentrate on your content.


 10:35 pm on Jan 9, 2007 (gmt 0)

I see some major sites related to my industry using underscores (_) and they rank very well.

Means the post by Matt Cutts is no more relevant

Please don't ask a question if you already know the answer. And I'd argue that your logic is a bit flawed... ;)


 10:44 pm on Jan 9, 2007 (gmt 0)

saw underscores (_) domains ranking much better

Last I checked, you can't use underscore in domain names.

I'm with tedster, it makes a very slight difference. I don't worry about it.


 12:22 am on Jan 10, 2007 (gmt 0)

sandpetra - the OP is not looking for advice from Google employees. They have witnessed otherwise.


 12:27 am on Jan 10, 2007 (gmt 0)

matt cutts has already cleared up this one.By the way its dashes.......


I think that SE's crawl both now and the whole argument is some what historical. In todays SE's it simply doesn't matter which one you use.

By the way if you read what Matt wrote he does point out this is a historical argument. So no way do I think this is an outdated post.

[edited by: Pirates at 12:47 am (utc) on Jan. 10, 2007]


 10:17 am on Jan 10, 2007 (gmt 0)

Something practical :
A link is (mostly) underlined. An underlined underscore looks like it's a space, an underlined dash looks still like a dash...


 1:54 pm on Jan 10, 2007 (gmt 0)

Avoid underscores and spaces in URLs.

Use hyphens or dots between words.


 2:49 pm on Jan 10, 2007 (gmt 0)

Would it be possible for someone to indicate how important it is to have such separators in things like directories within a domain (for example widgets.com/widget-information) - how much would a site suffer if it just used directories without such characters (widgets.com/WidgetInformation/)?


 3:13 pm on Jan 10, 2007 (gmt 0)

While this could be against the charter, I'd like to think it demonstrates why you would NOT use _ in the URL, and to an extent people here might need to see. Furhtermore it doesn't propagate anything else than Wikipedia. And since we all love Wikipedia...

Do a search for the following ( enter them all at once ):
allinurl:widget allinurl:tv allinurl:series

Then do one for:

Use underscores if you'd like Google NOT to identify the strings as separate words in the filename. Which sometimes makes sense. But not for what most of you have been asking this for.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved