When you are building URLs that should be legible for users and search engines and you do it automatically from the content, what’s the best way to represent blank spaces? Hyphens (this is what StackOverflow uses)? Underscores? Any other? Does any of those make a different for SEO?
Share
Both are valid URL characters and both have their pros and cons.
Pro dash
Google recommends dashes, and here is what Matt Cutts from Google has to say about
Dashes vs. underscores.
The Huffington Post,
TechCrunch,
Engadget, …
Dashes seem to be what major CMS do.Not sure about that one anymore, can anyone comment?
Pro underscore
ISO9660 file systems.
This can be a problem if your content is also shipped on DVD or CD (e.g help files or
eLearning content).