hi friends I got to know the below .......... .Can any one tell me how far this is correct???? "" Canonicalization is the process of picking the best url when there are several choices, and it usually refers to home pages. For example, most people would consider these the same urls: * www.example.com * example.com/ * www.example.com/index.html * example.com/home.asp But technically all of these urls are different. A web server could return completely different content for all the urls above. When Google “canonicalizes†a url, we try to pick the url that seems like the best representative from that set.""
The statement is correct. So instead of having internal links with various forms of URLs representing the same page, pick and consolidate all PR values to one single page. In your example, I could pick www.example.com and do some redirections for instances of all the other URLs.
I would say to do a redirection from all the url's to the main domain url as ewc21 suggested and then make the internal linking structure same i.e. to point to wwwdotdomaindotcom from all the internal pages.
Canonical issue can affect your ranking in google search engine. This problem occurred only in google search engine. As per google webmaster guideline, a web site with www & without www is treated two individual web sites with same content. So in this case google takes one web site as a duplicate content. It affects not only your ranking also affects your web site page rank. So you need to write a specific code so that when you enter domainname.com, the browser automatically redirects it to www.domainname.com
DaveN suggests you do the following: <ifmodule mod_rewrite.c> RewriteCond %{HTTP_HOST} !^http://www.davidnaylor.co.uk$ [NC] RewriteRule ^(.*)$ http://www.davidnaylor.co.uk/$1 [R=301,L,QSA] </ifmodule> Code (markup): in his blog, url canonicalization
For example, most people would consider these the same urls: www.domain.com domain.com/ www.domain.com/index.html domain.com/home.asp But technically all of these urls are different. A web server could return completely different content for all the urls above. When Google “canonicalizes†a url, we try to pick the url that seems like the best representative from that set.
How can i redirect my site non www to www page. Could you let me know the steps. Check out my site(sign. link ) It open with www non www homepage/index.html etc...