New answers tagged canonical-url
Canonical tags should be used on pages that have the exact, or very similar content. They are used to tell Google you realise you have two duplicate pages, but only count one. You shouldn't use them on pages where you are just trying to shift over relevancy, if they don't have very similar content, the tag may be ignored altogether.
The purpose of the canonical tag is to prevent that search engines consider the same page as two separate pages when using different URLS. For example: www.mysite.com/page/?ref=ad_platform1 www.mysite.com/page/?ref=ad_platform2 The ref parameter is used for analytics only. Without a canonical tag this could cause the search engine to to distribute ...
Placing a canonical link in RSS won't be effective. For a canonical link to work it must be in the <head> section of the document. The RSS feed would be rendered into the body of the document on another site. Google has been very clear on this point. They ensure that their implementation ignores canonical tags that are not in the proper place. ...
Google allows you to specify the canonical as an HTTP header. They give an example for canonicalizing one PDF file to another: Link: <http://www.example.com/downloads/white-paper.pdf>; rel="canonical" This page shows how to use .htaccess to put these headers in. It would be: RewriteRule ([^/]+)\.(pdf|doc|txt)$ - [E=FILENAME:$1] <FilesMatch ...
Top 50 recent answers are included