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]
  • #16 / May 15, 2008 5:16pm

    Sue Crocker

    26054 posts

    You guys do realize the program is called ExpressionEngine, no spaces. 😊

  • #17 / May 15, 2008 5:41pm

    Andy Harris

    958 posts

    Sure, it’s just a handy two worded name to use in this instance!

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

    walpow

    133 posts

    Dashes for me. People in the real world are used to dashes, and only use underscores when they’re typing and want to put a place for an answer to be filled in. Underscores scream “computer stuff” at me.

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

    Sue Crocker

    26054 posts

    I use dashes for URL titles and underscore for templates and global variable names.

    Personal preference. Dashes are easier to type in, no need to hold down the shift key.

  • #20 / May 15, 2008 9:36pm

    ak4mc

    429 posts

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

    Perhaps I should also add that my default CSS is to have links underlined only on mouseover, so that even a raw URL appearing on one of my sites would show underscores where they exist.

    YMMV.

  • #21 / May 15, 2008 10:59pm

    tutmeister

    15 posts

    You guys do realize the program is called ExpressionEngine, no spaces. 😊

    Sure, but as Andy Harris said, it is just a useful word to use in this instance. You can prove it by using any two words you like really.

  • #22 / May 15, 2008 11:08pm

    Jesse B.

    33 posts

    Chances are, you all read this in a blog post by Matt Cutts, a software engineer at Google.

    http://www.mattcutts.com/blog/dashes-vs-underscores/

  • #23 / May 16, 2008 12:07am

    ak4mc

    429 posts

    I’ve always found I can get pretty good results using Google or any other search-engine by looking for content—where dashes or underscores generally aren’t a problem.

  • #24 / May 16, 2008 10:45am

    Crssp-ee

    572 posts

    I had always used underscores, or even camelCaps, but recently started going with dashs.
    They don’t require the shift key #1, and #2 I had a strange thing happen with underscores on my web host.
    They started showing up as % 5 F had to add the spaces or it gets parsed to a _ here lol.
    http://crssp.com/demo/internet % 5 F sharing/

    I don’t think I’ve ever noticed any other time an underscore being converted to % 5 F.

    I sent a support ticket to my host to see if they could enlighten me on why it would be happening, weird huh?!? Actually I’m having troubles recreating the error, if you’ld call it that.
    All i know is I don’t have URL rewrite, and if every underscore were to be indexed on google as % 5F that would be a problem.

  • #25 / May 16, 2008 12:29pm

    tutmeister

    15 posts

    Chances are, you all read this in a blog post by Matt Cutts, a software engineer at Google.

    http://www.mattcutts.com/blog/dashes-vs-underscores/

    Thanks for pointing me back! It’s been a long time, I just couldn’t remember where it was I read it in the first place.

  • #26 / May 16, 2008 12:31pm

    Ingmar

    29245 posts

    Well the article is, what, 3 years old? As McGehee said, good content is the main point.

  • #27 / May 16, 2008 12:38pm

    Mark Bowen

    12637 posts

    Yep definitely good content and inbound links, they’re the two that will get you where you want to be.

  • #28 / May 16, 2008 12:40pm

    tutmeister

    15 posts

    Well the article is, what, 3 years old? As McGehee said, good content is the main point.

    Yes, but the question was “Dashes or underscores in the URL?”, so to that end just doing the Google searches with a relevant two-worded search will prove it is still current practice to use hyphens in the URL over underscores.

    Good content will, of course, keep the GoogleBot coming back for more to eat.

  • #29 / May 16, 2008 2:09pm

    Derek Jones

    7561 posts

    Those search examples with expression_engine vs. expression-engine are faulty, as that’s the wrong side of the coin.  The point isn’t about how Google treats dashes vs. underscores in search terms but in the URL.  So only the ‘expression engine’ search is relevant, and I think the search rankings of our site, EngineHosting, and thousands of other EE-powered sites using underscore separators show that what’s used in the URL is rather insignificant, if it matters at all.  It’s silly to assume that Google’s search algorithm both isn’t smart enough to handle both equally well, and that it hasn’t changed in three years.  So, I’m with Simon.  Semantics is king.

  • #30 / May 19, 2008 12:36am

    Nevin Lyne

    370 posts

    As stated many times before, your content, the relevance of your content in context to places that link to you, consistency in how you use and spell certain words in your content even. Google’s ranking is highly complex and something like the - vs _ in a URL is such a very very small fraction of the puzzle its not really worth fretting over, really.

    Take a look at the URL of the indented entry under spot #1 after following the first link below.  You will notice that web and hosting are highlighted, and not the _ you will also notice further down the page there are sites with - in the URL between web and hosting did not help much, but you will get from the first example with the _ that its treated as a word separator as the words are highlighted separately.  Its the whole package, and how you present things on your site, and how others present links to you from their own articles, pages, etc.  Its really a cat and mouse game to be honest 😊

    Google Search: load balanced web hosting

    Oh and for the folks that will say you can’t tell if Google is treating it as two words or a two word phrase even from this first link.  Try this:

    Google Search #2: load balanced hosting web  😉

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

ExpressionEngine News!

#eecms, #events, #releases