Add Canonical Tag To Blogger

Canonical Tag In Blogger :

Canonical deals with duplicate content issues. To avoid duplicate content in your Blogger blog, you need to add canonical tag to your Blogger blog. Canonical tags is link tag, just like dofollow, no follow tags. Canonical tags tells search engines that which URL link it should have for the current page , just like hint to search engines
.

How to add canonical tag to your Blogger blog : 

We have to add rel=canonical tag to your Blogger template. The syntax of the canonical tags is :
<link rel="canonical" expr:href="data:blog.url"/>. We have to this link tags to Blogger template. Below I'm showing clearly how to add canonical link tag to your Blogger template code.

Follow below steps to add canonical tag to your Blogger blog

Step 1 : Go to Blogger Dashboard

Step 2 : Click on Template

Step 3 : Click on Edit HTML

Step 4 : Search below tag
 <b:include data='blog' name='all-head-content'/>
 
After finding above code, add below code just above </head>

<link rel="canonical" expr:href="data:blog.url"/>

Note :  ( <link rel="canonical" expr:href="data:blog.url"/> will appear at the top of the template code,   if not appear then manually add this line just above <title> tag )

Step 5 : Click on Save template.

Now search engine easily recognize the main url of the page and also easily index only that page. Like this we can avoid duplicate content on Blogger blogs by adding canonical tags.

1 comment:

  1. Hi, thanks for the useful info, but I've noticed that I can only add a canonical in the template from the HomePage html. I can't actually access each post's 'head' section to add the relevant canonical to the original post (hosted somewhere else, my blog is a kind of portfolio where I republish content I have created for clients, so I surely do not want to penalize them). So how can modify each posts' html without fiddling with the template? Many thanks!

    ReplyDelete