Tag Info

Hot answers tagged

4

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 ...


2

When you redirect your example.com to www.example.com, using a 301 redirect, all your existing link-juice will also transfer to the www version. But if you're going to redirect it using a 302, that may block link-juice from flowing to www version. So redirect your site without the www to the one with the www using a 301 redirect, and also put a canonical ...


1

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.


1

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 ...


1

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. ...



Only top voted, non community-wiki answers of a minimum length are eligible