Difference between www.domain and http://domain

Discussion in 'Google' started by syedwasi87, Jul 22, 2007.

  1. ivenms

    ivenms Peon

    Messages:
    334
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Now google site maps gives us the option to display our site as www. or . on the google searches.
     
    ivenms, Jul 23, 2007 IP
  2. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #22
    yes, they could be different if your backlinks are pointing to www and some for non www.

    i suggest you go to google sitemap and choose the association you need. strong suggestion is dont set any association
     
    godmode, Jul 23, 2007 IP
  3. danieloffice

    danieloffice Peon

    Messages:
    472
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #23
    Hi,


    please explain this "strong suggestion is dont set any association"

    thanks
     
    danieloffice, Jul 23, 2007 IP
  4. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #24
    go to google webmaster Tools:

    now under preferred domain: select Don't set an association.
     
    godmode, Jul 23, 2007 IP
  5. VincentChow

    VincentChow Peon

    Messages:
    442
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Not sure what's the difference, but I have all my sites to use www.
     
    VincentChow, Jul 23, 2007 IP
  6. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #26
    i also personally like www. because most of the time i feel, the NS and the website updates quickly on www. rather than the http:// which takes sometimes days or atleast hours after i make changes to my site via FTP.
     
    syedwasi87, Jul 23, 2007 IP
  7. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #27
    True when I move host, it takes http:// forever to catch up with the update.
     
    argothiusz, Jul 23, 2007 IP
  8. danieloffice

    danieloffice Peon

    Messages:
    472
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #28

    I got the same experience, but what is the reason behind? any technical problem?
     
    danieloffice, Jul 23, 2007 IP
  9. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #29
    you guys need to do a permanent 301 to avoid http:// issues if any
     
    godmode, Jul 23, 2007 IP
  10. danieloffice

    danieloffice Peon

    Messages:
    472
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #30
    please post here again how to put that in .htaccess

    and is there any drawback,...... if no drawback, then I just put that to all my sites.................thanks
     
    danieloffice, Jul 23, 2007 IP
  11. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #31
    Just paste the code provided above into your .htaccess file (root .htaccess) and you are done..:)
     
    argothiusz, Jul 23, 2007 IP
  12. stickycarrots

    stickycarrots Peon

    Messages:
    4,513
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #32
    Out out pure convenience and repetition the first thing I do when I'm setting up a site is add the htaccess code to remove the www. automatically (the code that was posted earlier in this thread is the exact same thing I use).

    Doing that ensures that you'll get the max "PR Juice" and that your backlinks will all go to one place :)
     
    stickycarrots, Jul 23, 2007 IP
  13. danieloffice

    danieloffice Peon

    Messages:
    472
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #33

    you mean this: (pls confirm before I do the changes to all my sites)


    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^seo4fun\.com [NC]
    RewriteRule ^(.*)$ http://www.seo4fun.com/$1 [R=301]
     
    danieloffice, Jul 23, 2007 IP
  14. joshbond

    joshbond Peon

    Messages:
    335
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #34
    When adding this code are we making it so only the http://domain will show up or the www.domian will show up?

    I personaly prefer the www infront of it and want to always use that one.
     
    joshbond, Jul 23, 2007 IP
  15. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #35
    hey dont use seo4fun, replace it with your own url lol..gosh dont just copy paste.
     
    godmode, Jul 23, 2007 IP
  16. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #36
    does this mean, even if i use phpnuke for my site...the htacess method will work??
     
    syedwasi87, Jul 24, 2007 IP
  17. BlindCat

    BlindCat Banned

    Messages:
    415
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #37
    You can let google consider your domain with both "www" and without "www" to be the same.

    Go to Webmaster Central and there is a option to change your "Preferred Domain".
     
    BlindCat, Jul 24, 2007 IP
  18. 3walim

    3walim Peon

    Messages:
    282
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #38
    if someone use both of them
    isn’t he will loss page of archaive
    cuz the page will archaive 2 time
    with www and without it?
     
    3walim, Jul 24, 2007 IP
  19. joshbond

    joshbond Peon

    Messages:
    335
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #39

    I just tried adding this code to the htaccess and then tried it.


    When I went to http://mydomain.com it took me to http://www.mydomain.com/public_html/

    Wow can I fix this so it just goes to the main page and not some internal file folder?

    What is the "$1" part in the code for?
     
    joshbond, Jul 25, 2007 IP
  20. totalmasala

    totalmasala Banned

    Messages:
    1,454
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #40
    not much difference your site can run without www but users usually press ctrl+enter so try to use www also
     
    totalmasala, Jul 25, 2007 IP