Common SEO Mistakes: Canonical Tags

Is it correct if the canonical tag points to an external domain?

It is possible to set up a canonical tag that points to an external domain. This way, you mark the page that Google should take into account for ranking. However, Google itself emphasises that this is a recommendation that the search engine usually, but not always, follows. The company recommends using 301 redirects whenever possible. It also points out that the search engine is good at deciding on its own between two very similar or identical pieces of content. When you set up a canonical tag, make sure that the content of the two pages is similar, otherwise the tag will be ignored by Google.

Can I put the canonical URL in the http header?

Instead of HTML tags, you can use a rel=”canonical” http header – provided you can configure your server. This header looks like this, for example:

<>; rel="canonical"

One advantage of this method is that it does not increase the size of the page. You can also use it to assign an infinite number of duplicated pages. If you don’t want to link to an HTML document, but for example to a PDF, use this method in any case. However, there is also a disadvantage. A rel=”canonical” http header can make it difficult to maintain associations when dealing with larger web pages.

The canonical URL jumps from http to https

If a page can be reached with http:// and https://, you can use a canonical tag to tell Google to index the https:// version. In the head of the page, it will look like this:

<link rel="canonical" href=" "/>

Alternatively, you can use a http header:

< >; rel="canonical"

The canonical URL jumps from https to http

Following the same principle, you have the possibility to instruct Google to index the http:// page version with:

<link rel=”canonical” href=” ”/>

The http header will look like this:

< >; rel="canonical"

However, please note that https ensures more security during data transmission and is therefore preferred by Google.

Why should I select only one and not multiple canonical URLs?

If you specify more than one canonical URL per page, you risk Google ignoring the canonical tag. Even more: the search engine will ignore all canonical tags on your page. It will be treated like a page without a canonical tag. This means that Google decides which of the similar pages will be used for the ranking. Therefore, you should try and limit yourself to one URL. Also, do not try to specify multiple pages by using different canonicalisation methods – for example, with one URL in the sitemap and another in an HTML tag. By the way, Google also ignores canonical tags if the two pages are not similar enough. A thematic similarity is not enough.

Steve Paine