www. or no www. difference?

Discussion in 'Search Engine Optimization' started by lateuk, Mar 26, 2007.

  1. #1
    Hello,
    Can someone explain why if i do a site:www.***.com, then a site:***.com on Google i get vastly different resuilts?

    Its a new site about 4 weeks old.

    Thanks

    Late
     
    lateuk, Mar 26, 2007 IP
  2. donttrustthisposter

    donttrustthisposter Peon

    Messages:
    1,477
    Likes Received:
    91
    Best Answers:
    0
    Trophy Points:
    0
    #2
    They're 2 different domains. www is a subdomain.
     
    donttrustthisposter, Mar 26, 2007 IP
  3. loewen dbs

    loewen dbs Active Member

    Messages:
    63
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #3
    You should only be using one. Google sees them sort of as two different sites and you gotta combine them to get the best possible rankings. Some folks only use http://domain.com as a style thing, which takes a bit more work.

    Start searching for things like "domain 301 redirects".
     
    loewen dbs, Mar 26, 2007 IP
  4. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #4
    I prefer with the www part in it.. it just seems right
     
    KingNomar, Mar 26, 2007 IP
  5. vladut33

    vladut33 Guest

    Messages:
    297
    Likes Received:
    107
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes. I agree with KingNomar.
    Google takes the as 2 different domains
     
    vladut33, Mar 26, 2007 IP
  6. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #6
    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^turkcebilgi\.net[NC]
    RewriteRule ^(.*)$ http://www.turkcebilgi.net/$1 [R=301]

    I think you must add this to your .htaccess file . it's a part of my .htaccess file . your pages may flagged as supplemental pages
     
    trichnosis, Mar 26, 2007 IP
  7. Gazgolter

    Gazgolter Member

    Messages:
    24
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #7
    yeah, this process called Domain Canonicalization. Must do!
     
    Gazgolter, Mar 26, 2007 IP
  8. lateuk

    lateuk Active Member

    Messages:
    317
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #8
    There is a redirects option in cpanel, can i not just do a permenant redirect from ***.com > www.***.com?

    Will this affect my rankings?
     
    lateuk, Mar 27, 2007 IP
  9. seo_kate

    seo_kate Peon

    Messages:
    362
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    yes redirect the non www version of your domain to www version.. google treats both as different domains so you are getting different results..
     
    seo_kate, Mar 27, 2007 IP
  10. lateuk

    lateuk Active Member

    Messages:
    317
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Hello,
    I have added the redirect to the top of my .htaccess file, now if i type in ***.com it changes to www.***.com, but if i put in ***.com/links it does not change to www.***.com/links

    here is the file:

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^grindside.com [nc]
    rewriterule ^(.*)$ http://www.grindside.com/$1 [r=301,nc]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://forum.grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://forum.grindside.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://grindside.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://videos.grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://videos.grindside.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://webmail.grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://webmail.grindside.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.grindside.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.webmail.grindside.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.webmail.grindside.com$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp|wmv|mp3|flv|swf)$ - [F,NC]

    I have now removed the sub domains, but i find that ***.com/photos/ will rewrite to www.***.com/photos/, but ***.com/videos/ wont (videos used to be a sub domain videos.***.com)
     
    lateuk, Mar 27, 2007 IP
  11. Selly

    Selly Peon

    Messages:
    66
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Because www and non www are considered as two different url. Its better to have sites with www. Try to redirect permanently your non www sites to www sites.
     
    Selly, Mar 27, 2007 IP
  12. Xoligy

    Xoligy Active Member

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #12
    Is Google's preference or yours?
     
    Xoligy, Mar 27, 2007 IP
  13. libervisco

    libervisco Well-Known Member

    Messages:
    481
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    168
    #13
    That's what I'd like to know.

    I currently redirect non www to www. It also feels right and has been working quite alright with google too. So what's the problem?

    I'm being asked by the advertiser to not redirect to www, but I'm vary of changing anything now that so many links have been all over the web with "www" in it. I don't want to fix what doesn't seem broken.
     
    libervisco, Mar 27, 2007 IP
  14. lateuk

    lateuk Active Member

    Messages:
    317
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #14
    Figured out the problem!!!

    I founf another .htaccess file in the 2 problem directories which must have been causing the redirect problem. I deleted them and now all none www redirect to www.

    Result.
     
    lateuk, Mar 27, 2007 IP
  15. NYDAz

    NYDAz Peon

    Messages:
    685
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I preffer the usual www. but will try the codes you've wrote
     
    NYDAz, Mar 27, 2007 IP
  16. poksa

    poksa Banned

    Messages:
    314
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Its Different try to redirect http:mydomain.com to http:www.mydomain.com.

    Because it shows different Results. try This One

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^mydomain.com [nc]
    rewriterule ^(.*)$ http://www.mydomain.com/$1 [r=301,nc]

    You just change the mydomain.com of your site URL...
     
    poksa, Mar 27, 2007 IP
  17. RH78

    RH78 Peon

    Messages:
    158
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #17
    www or non-www. It makes no difference to the SE. But choose one and only one. If you don't, then you get dinged for having mirrored sites and content and your rankings, PR, etc.. will effectively "split" what you could get if you only had one domain.
     
    RH78, Mar 27, 2007 IP
  18. Xoligy

    Xoligy Active Member

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #18
    That's what I thought, thanks for clearing that up.
     
    Xoligy, Mar 27, 2007 IP
  19. pitumbo

    pitumbo Peon

    Messages:
    189
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #19
    you can also tell google to -only- use the www. or no www. through their webmaster tools (select domain preference)...it takes a while to update their links but if you already have established www and no www links on there i think it's worth doing.
     
    pitumbo, Mar 27, 2007 IP
  20. ewc21

    ewc21 Peon

    Messages:
    455
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #20
    www and non-www belong to the same domain but belong to different URLs and are treated differently so it's important to pick one (either www or non-www should be okay). Do a 301 redirection to ensure that if a link points to a non preferred format, it will eventually land into the chosen (www or non-www) structure.
     
    ewc21, Mar 28, 2007 IP