Blogger team has automatically add the canonical link element to all blogger templates by default in order to avoid duplicate content issues on two different domains in search engine optimization. This problem arises in social networking buttons and Facebook comments plugin. Most of readers complained that their Social Counters showing wrong counts and Facebook comments are not showing after blogger rolled out country specific Url So in order to solve that problem you need to make few changes in your template. This tutorial is only for those who are using free Blogger domain like yourblog.blogspot.com. Custom domain users does not have this problem
Solvig Other Social Counters Canonical URLs Problem'
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
expr:href="data:post.url"
- Replace above code with the code shown below
expr:href="data:post.canonicalUrl"
Fixing Facebook Comments Canonical URL Problem
- Find the similar code as shown below
<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' migrated='1' width='520'/>
- Now replace data:post.url with the code shown below
data:post.canonicalurl
- Now save your template
1 comment
Loves Your post.
Click to Add a New Comment