I have a domain, and I have most backlinks to my site going to www.domain.com, but just recently I have found out I also have many links that go to domain.com without the WWW. Will there be a seperate PR for the domain with www and the one without?
You won't get any penalty points, but it might confuse google, if you don't have the same content on both sites. Best practices are: 1) redirect your site from http://example.com to http://www.example.com (or the other way around) 2) register on Google Webmaster Tools and make sure your preferred version is set correctly there.
Google may think they are two separate sites, so do a 301 redirect from http://domain.com to http://www.domain.com, or whatever way you prefer. This will transfer any pagerank, links etc. Put this in your htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] Code (markup): Switch "domain.com" with your own url (also you need "RewriteEngine On" only once on the top of the htaccess file, if you have it there already)
I read here at DP that having links to www and non www url's can affect or water down your PR, but I am not sure how true that is. I have seen some PR checker sites that give results for both the www and non www version of the URL, so maybe there is some truth to it. True or not, it is best to play it safe and do as others have said and use a 301 redirect in your htaccess. and also set the www or non www version in webmaster tools. I wanted to do this as well, because I noticed links to the non www urls of a few of my sites, but I am on windows hosting, and I don't think there is a .htaccess equivalent. I also read here that having links to domain.com and domain.com/index.html can also water down the PR. Again I don't know how true it is, but I have set all internal linking on my sites that goes to the homepage to <a href="/">home</a> Code (markup): instead of <a href="index.html">home</a> Code (markup): . Not sure weather or not that makes a differance, but best to play it safe. Cheers James
It's the best advice, Google treat each one as a single URL and it will affect your ranking as well as the PR value... It's called URL Canalization and it's been advised on Matt Blog long time ago: http://www.mattcutts.com/blog/seo-advice-url-canonicalization/ Hope i was helpful - REP is appreciated.
in fact ... you have 4 times the same page ... http://www.domain.com/ http://www.domain.com/index.html http://domain.com/ http://domain.com/index.html AND TO GOOGLE THOSE ARE 4 DIFFERENT PAGES, BUT DUPLICATED PAGES, SO YES, YOU LOSE VALUE IF YOU DON'T CANALIZE THEM ... it's important to redirect 3 of them to 1 of them, and of course to respect that in your own internal linking !! in other words: YES, IT WILL AFFECT YOUR RANKINGS !!
Can this effect PR? Yes, as google see the non-www version of the site and www version of the site as two different sites. So you need to redirect one version to the other. This code will redirect non-www to the www version