Do you set your preferred domain as http:// or http://www

Discussion in 'Search Engine Optimization' started by dill, Feb 23, 2007.

  1. #1
    From what I've read it's good to choose either http://domain or http://www.domain for SEO efforts.

    What do you use and is there any difference other than your tastes?
     
    dill, Feb 23, 2007 IP
  2. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
    #2
    Choose whatever you want, but 301 one to the other and build all your links with one only. You can also specify what url you want to Google- the www or the non www
     
    gr8liverpoolfan, Feb 23, 2007 IP
  3. Gohan

    Gohan Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I prefer http:// to http://www. but that is just personal prefrence. If you enter this code into your .htaccess and it will redirect anyone that goes to http://www.domain.com to http://domain.com. Just replace the red information with your domains information.
     
    Gohan, Feb 23, 2007 IP
  4. dill

    dill Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the tips

    Elsewhere, I've read that I should use this code to go from http://www to http://
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
    RewriteRule ^.*$ http://domain%{REQUEST_URI} [R=301,L]
    Code (markup):
    There are a few slight differences in this code from the one posted above. Can someone explain what the difference in functionality is? (I know I need to learn about this stuff sometime.)
     
    dill, Feb 23, 2007 IP
  5. Ar3d

    Ar3d Banned

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    its better to use both of http://domain and http://www.domain for the website because not all the users are using www. so, for good purpose make use the that two by using the .htaccess apache. dont forget to know what server are you using because its a different .htaccess.
    cheers
     
    Ar3d, Feb 23, 2007 IP
  6. Janna122003

    Janna122003 Banned

    Messages:
    1,375
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you're asking what URL to use on your signature or links? Better use of the whole URL (http://www.domain) so that in checking your backlinks, http://domain can also be counted.
     
    Janna122003, Feb 23, 2007 IP
  7. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #7
    i choose http://www. i dont feel comportable without www.
     
    kojakfilth, Feb 23, 2007 IP
  8. stickycarrots

    stickycarrots Peon

    Messages:
    4,513
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I actually usually don't use the www. in front. I setup my .htaccess to just remove it if someone types it in.
     
    stickycarrots, Feb 23, 2007 IP