Why Doesn't Google Count http://www and http:// As The Same?

Discussion in 'Site & Server Administration' started by Dio, Dec 15, 2005.

  1. #1
    I was reading this thread - it boiled down to different versions of the same URL having different PR.

    I have seen the same on one of the sites I run:

    http://chavmum.co.uk/ is a PR5 whilst www.chavmum.co.uk/ is a PR4 despite both being the same page. As far as I can tell its down to the variety of link people use to link to the site. I always put the http:// chavmum version as the link. But people sometimes link to the www. version.

    It seems strange that Google and other engines should count them as different URLs - you'd think that they'd be able to combine the results. I'm sure if they combined the links, there may be enough of a pool to be a PR6 possibly? Its a waste of natural backlinks in a sense

    Anyone know why they count them different - I can't see any real reason myself.
     
    Dio, Dec 15, 2005 IP
  2. cornelius

    cornelius Peon

    Messages:
    206
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    google is not the only one, cookies treat above s different domains
     
    cornelius, Dec 15, 2005 IP
  3. Davilac

    Davilac Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You should use a 301 redirect. For example, in .htaccess would be like this:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.domain.com
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]
    Code (markup):
    if you want them to go to www (can be done www to without)
     
    Davilac, Dec 15, 2005 IP
  4. Haichi

    Haichi Well-Known Member

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #4
    hmm I never knew that was still in effect since I see the same pr on my sites
     
    Haichi, Dec 15, 2005 IP
  5. virtualkev

    virtualkev Peon

    Messages:
    364
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not sure why they do it but as they are seen as two sites could there be a penalty for dup content?
     
    virtualkev, Dec 15, 2005 IP
  6. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #6
    Would that affect how Google counts the backlinks though. I wouldn't have thought it would make a difference? If google sees 20 links to http://www.chavmum.co.uk and 20 links to http://chavmum.co.uk it would still count them as seperate rather than as 40 backlinks to 1 site. I'm guessing the HTacess on my site wouldn't affect how google decides PR, which is the problem here.

    I'm not worried if people go to either version, just how Google counts them on other sites for PR purposes.
     
    Dio, Dec 15, 2005 IP
  7. alanseo

    alanseo Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    PR is counted for each page not for entire site. 301 redirect will help you.
     
    alanseo, Dec 15, 2005 IP
  8. Davilac

    Davilac Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Are you sure? A 301 redirect is supposed to make Google count old site's links and new site's links as links for the new domain. If you have 20 links in old URL and 20 in new, Google will count for your new site more or less 40 links. Also Google will deindex one of the URLs (which you choose), which can be good. Also, think about this, when I post a link, I just go to adress bar and copy paste url, new links will go to the new URL, also. In such redirects I have never had any problem.

    There are lots of threads saying the same I tell you, just do a little search in Google, this is a frequent question why we should have only one possible
     
    Davilac, Dec 15, 2005 IP
  9. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #9
    Davilac, I think you're misunderstanding what I'm getting at. Google doesn't look at my site to count backlinks to my site does it? :confused: I think I might have said backlinks earlier when I meant external links to my site.

    I have no control over how people link to me when its organic linking. Some will do the www version because for your average web user, all sites must have a www on them - others will just do the http:// and omit the www bit.

    The problem is why doesn't google lump all the links its sees to chavmum.co.uk as one thing, rather than lumping the ones to http://www.chavmum.co.uk as one lot of backlinks and http://chavmum.co.uk as another lot of backlinks - creating two seperate PRs for my pages?
     
    Dio, Dec 15, 2005 IP
  10. Davilac

    Davilac Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I don't know why Google doesn't do that nor why, just I think that would be because www and non-www are different subdomains.

    I can only give you my advise.
     
    Davilac, Dec 15, 2005 IP
  11. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #11
    And its appreciated - so you think the redirect as you have it would then fix that problem when it came to figuring out page rank?
     
    Dio, Dec 15, 2005 IP
  12. GeorgeB.

    GeorgeB. Notable Member

    Messages:
    5,695
    Likes Received:
    288
    Best Answers:
    0
    Trophy Points:
    280
    #12
    Because the www is essentially a subdomain.

    DIfferent subdomains can be entirely different sites hence they are seen as such by the engines.

    Example:

    topic1.yoursite.com
    angrybeavers.yoursite.com
    www.yoursite.com
    funstuff.yoursite.com
     
    GeorgeB., Dec 15, 2005 IP
  13. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #13
    Ok I never realised the www. was considered a subdomain - so if I add the rewrite mentioned here, Google will come to my site first to pick up the htacess, then count all different flavours of link as to one domain?
     
    Dio, Dec 15, 2005 IP
  14. Davilac

    Davilac Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #14
    About Chavmum, I would redirect www to nonwww, cause is now your main url, if you redirect www to nonwww you won't loose anything. But if you use my code then you will redirect nonwww to www, and as far as I see, that maybe would not be good for you, cause your links and your indexed pages are without www, and you would loose them.

    To sum up, what you must think:

    You must decide between www and non www, then you must redirect by .htaccess. When you do that, you will loose your indexed pages in one of the urls, but your links will be counted as preferred's urls links. Redirecting to your preferred url also may help Google understand you haven't duplicated content.
     
    Davilac, Dec 15, 2005 IP
    Dio likes this.
  15. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #15
    I prefer the non www version - the www is so 90s... ;)

    So the code above is correct for that purpose then? I just change details. :)
     
    Dio, Dec 15, 2005 IP
  16. Davilac

    Davilac Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Try this :

    Options +FollowSymLinks
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^domain\.com$
    RewriteRule (.*) http://domain.com/$1 [R=301,L]
    Code (markup):
     
    Davilac, Dec 15, 2005 IP
  17. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #17
    digitalpoint, Dec 15, 2005 IP
  18. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #18
    Thanks Davilac - live and learn. :)

    Shawn - that's complete news to me - would you do that by setting up a subdomain called www? This is all news to me! :)
     
    Dio, Dec 15, 2005 IP
  19. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #19
    It's just how you define your web server. For example in Apache, it's the ServerName directive.

    It could be anything you want:
    ServerName www.digitalpoint.com
    ServerName digitalpoint.com
    ServerName forums.digitalpoint.com
    ServerName shawn.hogan.www.digitalpoint.com
    etc...

    Each would be a unique site, with unique content, Apache directives, etc.

    For www.digitalpoint.com, I've set it up to automatically redirect requests to the digitalpoint.com "site" to the www.digitalpoint.com site. Info on how to do that is here.
     
    digitalpoint, Dec 15, 2005 IP