Page naming convention - VS _ which is better

Posted By: rjjj111 ()
Posted On: 2005-Aug-09 17:38

I have a new website i am building with several sections. Which is better a - dash or _ underscore in the URLs? And why?

Example:

mydomain.com/blue-work/ford-truck/1999.html OR
mydomain.com/blue_work/ford_truck/1999.html







Posted By: vanachte ()
Posted On: 2005-Aug-09 20:49

Both are fine, I always use a "-". Why? Mostly because visually I find it looks better, and also it seems to be more widely used. As far as SE rankings go I have never heard of one making a difference over the other.


Posted By: g1smd (Staff)
Posted On: 2005-Aug-10 01:49

Google does NOT treat two_words as being two separate words, and the underscore visibly disappears on underlined links. Avoid the underscore.

Also avoid spaces as they get coverted to %20 by the browser which makes%20the%20URL%20unreadable.

Use hyphens or dots. Those leave the URL readable, and search engines can "see" the separate words as being separate.