1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any SEO difference between these 4 urls - EXPERT question

Discussion in 'Black Hat SEO' started by maxflow, Sep 16, 2011.

  1. maxflow

    maxflow Regular Member

    Joined:
    Dec 11, 2010
    Messages:
    302
    Likes Received:
    6
    Code:
    www.mydomain.com/new-awesome-computer
    
    www.mydomain.com/new_awesome_computer
    
    www.mydomain.com/new-awesome-computer.htm
    
    www.mydomain.com/new_awesome_computer.htm
     
  2. NikosX

    NikosX Power Member

    Joined:
    Jul 13, 2011
    Messages:
    683
    Likes Received:
    267
    Occupation:
    come on! really?
    Location:
    In a VPS far far away...
    from my little experience this (-) works better than this (_)
     
    • Thanks Thanks x 1
  3. maxflow

    maxflow Regular Member

    Joined:
    Dec 11, 2010
    Messages:
    302
    Likes Received:
    6
    thanks for answer. lets also get others comments.
     
  4. NeeJam

    NeeJam Newbie

    Joined:
    Dec 19, 2009
    Messages:
    21
    Likes Received:
    3
    Google prefers if you use dashes (I prefer to call them Hyphens). Matt Cutts has answered this here:

    PHP:
    mattcutts.com/blog/dashes-vs-underscores/
    With regards to using an extension at the end of your site, I'd avoid using extensions if you can.

    Why?

    Well if you move off .htm to .php or .asp etc then all your links change, which means so do your rankings. Whilst you might work on 301'ing each page individually, Google takes into consideration your layout (how easy it was for the spider to read the content), the content it self etc and as a result, your rankings are generally affected for the worse (or sometimes into oblivion by doing this).

    Which is why, you should use:
    PHP:
    mydomain.com/new-awesome-computer
     
    • Thanks Thanks x 1
  5. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    If you're going to use a subdirectory then you should really add the trailing slash, eg.

    domain.com/new-awesome-computer/

    since if you're missing the trailing slash, most apache webservers will rewrite the url and 301 you to the version with the trailing slash.

    At some points in the past, subdirectory index files (eg. domain.com/keyword-here/ )have been weighted slightly higher then filename.html files (eg. domain.com/keyword-here.html). At others, filename.html straight off root have been weighted more heavily. Meaning, it doesn't really matter what you use.

    I would personally name my files .html and not .htm. .htm is an abbreviation of .html that people started using because of the old 3 character limit to file name extensions in MS Windows. .html is the "proper" unix way to do it.

    The argument about being able to rename your files is somewhat valid but for a smaller site it makes more sense in some ways to keep your pages straight off root rather than having lots of subdirectories. Also, as a throwback to the way pages used to be ranked, it used to be advantageous to name your files .html to give them the appearance that they aren't dynamic (from the days when dynamic files were ranked poorly compared to static html). Most webservers can be configured to parse html files for dynamic includes.

    Back in the day Google stated that they preferred hypens to underscores because it made it easier for them to parse the individual words from the url string. I somewhat doubt this is still the case but since they said it, you may as well use hyphens. You hardly ever see underscores any more with a few notable exceptions eg. Mediawiki.

    All in all, urls don't matter much as long as the keywords are in the url somewhere. You shouldn't optimize for any one version of the algo (since it constantly changing), so just do whatever makes the most sense for a particular site.
     
    • Thanks Thanks x 1