ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Dashes or underscores in the URL

May 15, 2008 12:38pm

Subscribe [13]
  • #1 / May 15, 2008 12:38pm

    Andy Harris

    958 posts

    I go with dashes, mainly from a personal preference point of view. I was wondering, does anyone go for one or the other for any good reason, or are they equal?

  • #2 / May 15, 2008 12:55pm

    I have been wanting to know this for ages. I prefer underscores, but for no good reason. Recently I was told that hyphens are better for SEO is that true or were they making it up?

  • #3 / May 15, 2008 1:13pm

    Lisa Wess

    20502 posts

    I go with hyphens.  My main issue is that I have very poor eyesight and often don’t see underscores and see only a blank space.  Especially if a line is already underlined for some reason.  I don’t have any SEO reasons for this preference, a machine parser obviously won’t have vision issues. =)

  • #4 / May 15, 2008 1:56pm

    Mark Bowen

    12637 posts

    Especially if a line is already underlined for some reason.

    I go with underscores as I do remember reading somewhere that these were better for SEO but nowadays everything I read says that it really doesn’t matter which you go with. Lisa I was just wondering what you meant by the above statement? In what instance would a url_title already be underlined?

    Best wishes,

    Mark

  • #5 / May 15, 2008 1:58pm

    Ingmar

    29245 posts

    A hyperlink?

  • #6 / May 15, 2008 2:06pm

    Mark Bowen

    12637 posts

    Duh!!! Stupid me! 😉

    I was thinking of the browser address bar!! 😊

    Going off to hide in the corner now!!

    Best wishes,

    Mark

  • #7 / May 15, 2008 3:19pm

    Simon Cox

    405 posts

    I wrote a piece about this last year on my blog.

    Despite what a lot of people say I go with underscores and there is a very good semantic reason for it. Hyphens are easier to see sure but there are situations where they do not make sense but underscores do.

    I know I am out on a limb on this but I am convinced I am right.

  • #8 / May 15, 2008 3:19pm

    ak4mc

    429 posts

    A hyperlink?

    But… but it’s not good manners to paste raw URLs onto a web page…!

  • #9 / May 15, 2008 3:24pm

    Ingmar

    29245 posts

    Sorry to burst your bubble, McGehee. (This is “The Lounge”, right? Check.)

  • #10 / May 15, 2008 3:31pm

    Simon Cox

    405 posts

    But McGehee has a point - having raw URLs isn’t good for SEO or user journey.

    For example the link I threw in earlier is: http://www.simoncox.com/mt3/2006/06/dashes_vs_underscores.php

    But on the page it is better to make the hyperlink descriptive of its destination:
    Dashes or underscores


    er - which I didn’t do earlier…

  • #11 / May 15, 2008 3:47pm

    Lisa Wess

    20502 posts

    I see a lot of links - raw, usually, and I usually can’t see the underscore.  And yea, I can’t see it in my browser URL bar either, unless I squint or zoom.

    So for me it’s an accessibility question; which is more important to me than SEO - what’s the point of SEO if people can’t read the stuff? =)

  • #12 / May 15, 2008 4:02pm

    Mark Bowen

    12637 posts

    What’s the point of SEO if people can’t read the stuff? =)

    Definitely a very good point there!

    Mark

  • #13 / May 15, 2008 4:30pm

    Everett

    25 posts

    Like Mark wrote in his first post, I also read that underscores were favored by search engines. But that was three years ago. Today, I don’t think it matters.  When I visit popular websites, I notice that some use dashes and some use underscores.

  • #14 / May 15, 2008 4:55pm

    tutmeister

    15 posts

    I can’t remember where I read this, but I do believe from an SEO perspective that hyphens are now very definitely the top choice, if only for Google. A quick example shows why I believe I am correct:

    Search on Google for Expression Engine:

    expression_engine - 8,220 results

    expression-engine - 4,240,000 results

    ...and just for information, a plain old space between them:

    expression engine - 3,300,000 results

    So I would most definitely stick with hyphens.

  • #15 / May 15, 2008 5:06pm

    Andy Harris

    958 posts

    You can’t beat a bit of research! I find that searching on expression-engine brought back the main EE site, but expression_engine did not. Seems Google treats the dash version as two words, but the underscore version as one word.

    I shall be sticking with dashes too.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases