Canonical Errors :Canonical issue is the most common problem websites are facing. Some time our website has opened with multiple urls like:
www.example.com
example.com/
www.example.com/index.html
example.com/home.asp
This is because the default settings for web servers, Though the difference appearance of URLs to be merely semantics, the actual results are dramatic. Google does not pass link juice equally between normal links, Google and other search engines have to scan all versions and they have to assume it’s duplicated content. So your website page rank is gone down.
It is necessary to solve this mistake for better result and improve page rank of the website.
1. Create a .htaccess file. Upload onto your server:
Opening a notepad document, Then save as the following – .htaccess (Don’t forget the . in front of htacess), Erase the default file type of .txt.
Write:
#start
RewriteEngine on
RewriteCond %{HTTP_HOST} ^website-checklist\.net$ [NC]
RewriteRule ^(.*)$ http://www.website-checklist.net/$1 [R=301,L]
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.website-checklist.net/$1 [R=301,L]
#end
Upload to the directory you wish to be impacted.
2. Go to the diagram and follow:
Replace example.com with your site name.
www.example.com
example.com/
www.example.com/index.html
example.com/home.asp
This is because the default settings for web servers, Though the difference appearance of URLs to be merely semantics, the actual results are dramatic. Google does not pass link juice equally between normal links, Google and other search engines have to scan all versions and they have to assume it’s duplicated content. So your website page rank is gone down.
It is necessary to solve this mistake for better result and improve page rank of the website.
1. Create a .htaccess file. Upload onto your server:
Opening a notepad document, Then save as the following – .htaccess (Don’t forget the . in front of htacess), Erase the default file type of .txt.
Write:
#start
RewriteEngine on
RewriteCond %{HTTP_HOST} ^website-checklist\.net$ [NC]
RewriteRule ^(.*)$ http://www.website-checklist.net/$1 [R=301,L]
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.website-checklist.net/$1 [R=301,L]
#end
Upload to the directory you wish to be impacted.
2. Go to the diagram and follow:
Replace example.com with your site name.

No comments:
Post a Comment