iMarc | Interactive Media Architects
  • Portfolio
  • Process
  • About
  • Communiqué
  • Contact
  • Support
  • Search

Dashes, Underscores, URLs, SEO and Humans

by Will Bond - March 19, 2008 / 10:57am View more articles

If you browse around the web some looking for search engine optimization (SEO) tips and techniques you are bound to run into the a dash is better than an underscore in a URL “rule”. This has always bugged me since underscores give better visual separation of the words, which I tend to equate to easier reading for us humans.

Way back in 2005, Matt Cutts from Google explained that Google treats dashes and underscores differently, and why. That is great and all, but 2005 is three years ago — an age in web time.

In August 2007, pretty much every big search engine confirmed that they treat dashes and underscores the same. Well, everyone except Google, which hinted that they were on their way. I was unable to find any updates on the subject since then.

Now, we’ve been running underscores in our URLs since sometime in mid 2005 and we’ve always had decent results with our pages being indexed appropriately. To clarify this issue a little, I thought I would do some experimentation.

Taking my Firefox HTML Validator on Ubuntu Gutsy post from our blog as a test page, I fed the terms html, validator and gutsy into each of the following search engines:

  • Yahoo
  • Google
  • MSN
  • AOL
  • AltaVista
  • Ask.com

All of the search engines that highlight terms in URLs (all but AOL and AltaVista) seems to have no problem grabbing the words in the URL. Notice how my post is listed above a page that uses dashes instead of underscores. I guess it is possible the search engines don’t care about word separators when highlighting keywords, but it seems that dashes and underscores are functionally equivalent when matching pages.

So, should you go through and revamp all of your URLs from dashes to underscores? Probably not, but it’s worth thinking about when starting a new site. Spending time polishing the little aspects of your site can make the difference between a good and a great site.

Dashes vs. Underscores

I find that the underscore gives better visual separation since it lives beneath the baseline whereas dashes seem to make the words run together. Another interesting point it that a dash has a grammatical meaning, whereas an underscore is an invention stemming from underlining with typewriters.
dashes-underscores-urls-seo-and-humans
dashes_underscores_urls_seo_and_humans

Do you prefer dashes or underscores, and why?

If you enjoyed this post, you might want to check out one of my semi-related posts, HTML Title Tags Done Right.

More Articles Get the RSS Feed Post A Comment

3 Comments

by Dave Tufts   #
on March 19, 2008 / 1:46pm
I think underscores are easier to read in URLs. Underscores seem to separate words more.

If I'm looked in to Google, the iMarc result (with underscores) comes up below an Ubuntu page (with dashes): packages.ubuntu.com/gutsy/web/wdg-html-validator

But if I log out, it flips the results. iMarc #1, Ubuntu #2.
by Peter   #
on March 21, 2008 / 1:18pm
I prefer dashes. Reading a URL with underscores causes my eyes to scan up and down as I'm scanning across the text. A URL with dashes allows me to scan straight across. Not a crazy amount of up and down, just enough for me to notice and for it to be annoying. Maybe this just means I'm inhuman. :-)
by Angelo   #
on April 18, 2008 / 4:48pm
Dashes.

Ask a relative to type a dash. Then ask them to type an underscore. Usability +1

Perhaps the real questions is, should slugs be in URLs at all?

An interesting read:
http://www.useit.com/alertbox/981129.html

That's from '98. Good ideas never go out of style.

Comments have been turned off on this blog.
Read something more recent.

Statements and opinions expressed in this blog and any comments made are the private opinions of the respective poster, and, as such, iMarc LLC is neither responsible nor liable for such content.

iMarc

iMarc is a web development company in Newburyport, MA. This is our blog.
View all blogs or learn more about iMarc.

About the Author

Will's Head Will Bond, Senior Technical Architect
I’m involved with everything technical at iMarc from servers to coding and markup best practices. I’m also the unofficial resident open source advocate.

After work I spend time with my awesome wife, daughter & son in and around our home in beautiful Newbury, MA.
More blogs by Will

Search Our Blog

Recent Communiqués

  • Bureaucracy at the W3C
  • Clients
  • Bring Back Fun
  • Browsers and Brands
  • Getting shot in paintball is good for you
  • Hiring: Junior Web Developer, Specializing in PHP
  • Password Management Done Right
  • BOFH
  • Limits
  • Unfriendliest CAPTCHA ever
  • Debug CSS
  • Bringing Business White Papers to the Web
  • i ♥ @alaskaair
  • Micropayments
  • Beating CAPTCHA

Popular Communiqués

  • Bring Back Fun
  • Hiring: Junior Web Developer, Specializing in PHP
  • Password Management Done Right
  • Getting shot in paintball is good for you
  • BOFH
  • Clients
  • Limits
  • Bureaucracy at the W3C

Recent Comments

  • Bring Back Fun

    By Robert Mohns: Go to panic.com/goods Drag a t-shirt into the "Cart" at the bottom of the screen. …

  • Inconsistent Web Analytics Numbers: Google vs. The World

    By Jim Samuel: Great article. Thanks for posting it. I've been trying to find an explanation for the discrepancy between…

  • Password Management Done Right

    By Mary: Hey Dan, great post. I've been using a VeriSign secured toolbar called Billeo to manage my…

  • Browsers and Brands

    By Reto L.: I think Rob has it right -- I just asked my mother how she gets to CNN's website and her response was…

  • Browsers and Brands

    By Robert Mohns: Actually, I think all those people who said the browser is how you search for stuff are correct. What's…

RSS

RSS Icon Learn about RSS and get the feed for our blog.

About iMarc

  • We build custom web sites
  • In-house strategy, design, programming, hosting
  • In business since 1997
  • We’re located in Newburyport, MA
  • Call us at (978) 462-8848

© 2009 iMarc LLC, Contact Us

Links

  • Home
  • Portfolio
  • Client Support
  • Log In
  • (icon)RSS

Meet the Team

Bill's Head Bill Bushee, Senior Developer

I handle all aspects of building a database driven dynamic website. This involves creating the initial pages and web forms in HTML, designing the database structure, and writing all of the appropriate server side scripts to handle data and manage the site's interactive features.

Learn More | Meet the Others