Should I use underscores or hyphens in URLs?

On February 26, 2009, Google software engineer Matt Cutts collected questions on Google Moderator and answered many of them on video. tripstar from Ontario, Canada asked: Underscores vs hyphens in URLS, does it make a difference? my-page vs. my_page?

Comments

comments

13 thoughts on “Should I use underscores or hyphens in URLs?

  1. pigsonthewinguk

    People are already using underscores as separators, Google should honour that, rather then trying to specify what people should. use.

  2. ontheflipside200

    There was an article on cnet on Matt Cutts from google at WordCamp 2007′ proclaiming that google was using underscores as separators.
    just google cnet underscore word separators.

    Why the preference for dashes when it seems there is no difference?

  3. GoogleWebmasterHelp

    @ontheflipside200: Matt clarified what he said at WordCamp on his blog on August 10, 2007. Try searching for [Whitehat SEO tips for bloggers] and that should bring it up.

    - Wysz, Google Webmaster Central

  4. dushyant78

    I totally agree. Sometimes its a technical challenge, depending on what platform your site is coded in. When you have a large number of high ranking pages, that all follow different URL patterns but use underscores instead of hyphens, there should be no reason to change your site to use hyphens. I have personally seen cases where doing permanent redirects as a method of passing rankings along from an old page to new page are highly ineffective with regards to preserving SERP rankings.

  5. somfplease

    underscores make things easier to read in a url especially if posted as a link.

    mouseover “QuickList” or “Account” at the top on this page (if logged in). Doesn’t google own youtube?

  6. larssonk22

    I don’t think Google needs to worry about their own sites since they own the search engine. + I’m unsure how much of the internal link structure has changed after the Google buy out.

  7. brodseba

    I know a lots of site use underscore in their URL. It make sense to me than Google treat underscore has a separator. Please, pretty please.

  8. gooadam

    I find this odd to state hyphens as a preferred separator. Google had no problems with underscores at the outset, but hyphens were originally used predominantly by “spammy” bot-created sites. Just for logic sake, wouldn’t you put more weight on the underscore knowing this info, if it were up to you?

Comments are closed.