11/11/2009
This past week I read an excellent book by Aaron Walter titled, Building Findable Websites. And I wanted to share with you a little tidbit I learned from this book:
-
Use hypens, not underscores in your website addresses
I will admit (though I'm somewhat embarrassed to do so) that I didn't realize what a difference hyphens made in the eyes of search engines. Consider the following:
- Example 1: www.domain.com/look_how_smart_i_am
- Example 2: www.domain.com/look-how-smart-i-am
Now to you (and to me until last week) these two website addresses looked pretty much the same. In fact in my mind it really came down to a matter of style. However, that is not the case. Here is how search engines see the directory path for these two examples:
- Example 1: lookhowsmartiam
- Example 2: look how smart i am
Now that's a big difference (and certainly not a matter of style). Example 1 translates to jibberish while example 2 offers unique keywords to be indexed by search engines and a clear benefit in search engine rankings. Example 2 is the winner here and going forward I will be using the hyphen instead of the underscore.
Is it a subtle difference? It sure is, but now that you know why would you ever go back to the underscore?
~Derek Allard
Gravity Switch Developer
Re-posted with permission from its original publication in Derek's Tunnel 7 blog.

