URL Canonicalization

Kalpart

Acquaintance
Joined
Oct 28, 2014
Messages
36
Reaction score
0
FP$
4
How much URL Canonicalization error affect the website rank? And how to fix error?
 
URL Canonicalization affects your website ranking. You can fix it using permanent 301 redirect. But do it properly. Otherwise it will give negative effect.
 
The best way to correct any issues from the whole "www" or "non-www" is to add the following to your .htaccess:

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^domain\.com$       [NC]
RewriteRule ^(.*)$       http://domain.com/$1 [R=301,L]
 
Use 301 direction to make sure that the home page is found only in one URL. Don't use tracking ID in the navigation.
 
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. You can solve this by using a 301 redirect to the correct URL using the rel=canonical tag.
 
Lackay! said:
The best way to correct any issues from the whole "www" or "non-www" is to add the following to your .htaccess:

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^domain\.com$       [NC]
RewriteRule ^(.*)$       http://domain.com/$1 [R=301,L]

This is the best answer I have seen so far.
 
Back
Top Bottom