- A recent study released by Marin Software offers some insight in how a cohesive cross-channel marketing technique can lead to...
- Mobile Websites and Applications: Value to Manufacturing Sector “I’m a manufacturer, what do I need ‘Responsive’ web design or ‘Native...
- It seems like every client I’ve talked to recently has come to me asking “What are we doing for social...
SEO Basics: Hyphen or Underscore for SEO URLs?
SEO Basics is the eCreative IM blog column written for SEO beginners just learning the basics of search engine optimization. You can find all our SEO Basics articles by browsing the SEO Basics Archive or find the specific tips you’re looking for in our SEO Tips & Guides page.
Updated in 2012 with the latest word from Google! Should you use dashes or underscores in your SEO URLs? Happily, unlike many SEO questions, the hyphen vs underscore debate has a definite right answer, and we’ve gotten that answer directly from Google.
Among the many little tweaks that we make to our websites to maximize our SEO in Google are our SEO URLs. The basic concept is to make the URL search engine friendly — and by friendly, we mean optimized to rank better.
Google has no problem reading those pesky /productid?=5165681 URLs these days; however, all other things being equal the URL that reads /red-nike-sneakers is going to rank better in Google.
Separate SEO URL words with a hyphen, or an underscore?
The recurring question in SEO URLs is whether to use a hyphen, or dash, (these-are-hyphens) or an underscore (these_are_underscores) to separate your words. Does Google recognize both of them as word separators?
The short answer is that you should use a hyphen for your SEO URLs. Google treats a hyphen as a word separator, but does not treat an underscore that way. Google treats and underscore as a word joiner — so red_sneakers is the same as redsneakers to Google. This has been confirmed directly by Google themselves, including the fact that using dashes over underscores will have a (minor) ranking benefit.
Again, SEO URLs should use hyphens to separate words. Do not use underscores, do not try to use spaces, and do not smash all the words together intoonebigword. As of 2012, dashes are still the best way to optimize your SEO URLs.
History of the hyphen vs. underscore SEO URL debate
One of the reasons this question is so debated is because of a poorly worded comment made by Google’s Matt Cutts in 2007 that to many people seemed to imply that underscores were treated as word separators.
Matt quickly corrected this perception on his blog, but the belief persisted. Later in 2009 Matt confirmed that indeed you should still be using hyphens for your SEO URLs, Google doesn’t treat underscores as word separators, and again in 2010 he recommended using hyphens.
In August of 2011 Google’s Matt Cutts posted a new video once again confirming unequivocally that hyphens are the way to go for your SEO URLs, and that they would remain that way for the foreseeable future. A couple of quotes from Matt Cutts in his 2011 video:
“If you are going to make a site and you’re starting fresh, so you’ve got a blank slate to work with, I would probably go ahead and go with dashes. I would continue to go with dashes at lease for the foreseeable future.”
“Nobody’s slated to be working on that so at least for the time being it’s better to use the dash.”
Here’s Matt’s August video answering the hyphen vs underscore SEO URL question:
It’s worth noting that if you’re site is currently using underscores instead of dashes, it’s probably not worth the chaos to change them (after all, 301 redirects don’t pass 100% of the link juice). Matt Cutts stressed that the ranking difference between using dashes or underscores is minor — but then, that means there is a ranking difference.
Was this article useful? Support the blog by leaving a comment!
Read more Ecreative SEO Basics.