Whats the best way?

Discussion in 'Search Engine Optimization' started by Bestmiler, Jan 26, 2007.

  1. #1
    Bestmiler, Jan 26, 2007 IP
  2. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
  3. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #3
    oseymour, Jan 26, 2007 IP
  4. schmeetz

    schmeetz Active Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    It doesn't really matter but whatever you choose...stick with it.
     
    schmeetz, Jan 26, 2007 IP
  5. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #5
    it does matter...the search engines treat them as links pointing to differenct pages...ever heard of url canonicalization?
     
    oseymour, Jan 26, 2007 IP
  6. Komodo Tale

    Komodo Tale Peon

    Messages:
    140
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It is best to always use www.domain.com because this is what the majority of web users expect and type, even if you do not use it. The reason for sticking with one version is to avoid canonicalization problems.

    Hint: Use your .htaccess file to redirect all non-www visitors to your www document addresses.

    Background: The non-www version is technically correct because it is redundant to http://, which itself indicates a web address as opposed to an FTP, Telnet, IRC or other method of Internet communication. While technically correct it is not the best practice because the use of www is overwhelmingly popular. This is a case where it is best to go with the flow.
     
    Komodo Tale, Jan 26, 2007 IP
  7. Bestmiler

    Bestmiler Peon

    Messages:
    1,116
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Bestmiler, Jan 26, 2007 IP
  8. stephfoster

    stephfoster Well-Known Member

    Messages:
    567
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    138
    #8
    Most directories I've seen want that http://. I believe this is because the link could otherwise appear as http://www.directoryname.com/www.yoursite.com. I know those times when I've accidentally left the http:// off a link to another site on my site, that is what happened.

    I'm sure some directories can handle either, but why risk it?
     
    stephfoster, Jan 26, 2007 IP
  9. KC TAN

    KC TAN Well-Known Member

    Messages:
    4,792
    Likes Received:
    353
    Best Answers:
    0
    Trophy Points:
    155
    #9
    KC TAN, Jan 27, 2007 IP
    bentong likes this.
  10. Bestmiler

    Bestmiler Peon

    Messages:
    1,116
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #10
    great I plan to...thanks.
     
    Bestmiler, Jan 27, 2007 IP
  11. eukhost

    eukhost Banned

    Messages:
    911
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Many directories do require you to type http:// before the actual domain name while submitting, so I think you should stick to http://www.domain.com.
     
    eukhost, Jan 27, 2007 IP
  12. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
  13. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #13
    oseymour, Jan 27, 2007 IP
  14. tigrrra

    tigrrra Well-Known Member

    Messages:
    2,109
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    120
    #14
    I would also add

    RewriteEngine On
    Options +FollowSymlinks
    RewriteBase /
          
    RewriteCond %{HTTP_HOST} ^yoursite\.com [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
    Code (markup):
    in your .htaccess this way yoursite.com will be permanently redirected to http://www.yoursite.com Google will love you for it :)
     
    tigrrra, Jan 27, 2007 IP