Canonical link is important as it tells the search engines robots, which link should be indexed for a webpage which might be accessible via multiple URLs. Since its introduction in 2009 the Canonical link has been greatly accepted by webmasters.
Canonical link tag or element indicates to Google and other search engines that one particular link is the preferred URL for indexing of a webpage even though it can be accessed by multiple URLs.
In Blogger blogs the canonical link tag can be and should be implemented. Because; Blogger blog posts can be accessible via different links the visitors and robots of search engines.
For example; the original post URL
http://yourblogslink.blogspot.com/2014/12/my-story.html can also be visited by;
- Mobile link:
- Comments link:
- Blogger’s country specific URL:
- Any tracking tools which add items with the original URL:
You might think these almost the same as they are taking you to the same page. But a search engine robots cannot tell that all these links are for a same webpage. So, search engines like Google and Bing indexes each one of them and treat all as copied content.
If Google and other search engines find copied content then your blog will be penalized. This means you will lose you page rank and search engine’s ranking. To avoid this Blogger blog must use it in their blog as you see the canonical link tag helps to avoid duplicate content in your Blogger blog.
- Go to Blogger dashboard > Template > if required backup your template > click ‘Edit HTML’. In there; search for
<b:include data='blog' name='all-head-content'/>. You will find it below the
<head<tag. If you haven’t found it the solution is given below.
<b:include data='blog' name='all-head-content'/>tag automatically adds the canonical link tag along with other tags and scripts.
- If you haven’t removed
<b:include data='blog' name='all-head-content'/>from your blogger template then the canonical link tag is present and working.
In most customized template you will not find
<b:include data='blog' name='all-head-content'/> as it adds unnecessary scripts just below the
<head> of the blogger blogs. It is not a problem to delete
<b:include data='blog' name='all-head-content'/> from Blogger templates.
To check if canonical link tag is present on your Blogger blog go to your blog and view the source code CTRL + U of it and search for something like this;
<link href='URL of your blog's page' rel='canonical'/>
<b:include data='blog' name='all-head-content'/>in the template
But if cannot find
<b:include data='blog' name='all-head-content'/> in your template then do not bother to add that for just conical link.
In this case for adding canonical link tag in Blogger:
- Go to Blogger dashboard > Template > if required backup your template > click ‘Edit HTML’.
- Look for
<head>in the template.
- Paste the following code just below it.
<link expr:href='data:blog.canonicalUrl' rel='canonical'/>
- Click ‘Save template’ on the template editor.
data:blog.canonicalUrl is most important part of the code as it call the actual post URL. Even if your post is visited using other links the canonical link will be same and Google will not index one page twice with different links.
Canonical Link Tag is a must for each blogger blogs as it is very important for SEO. If you have any question do put them forward below in the comments section. Don’t forget to share and subscribe.