How to Fix Duplicate Meta Description Error in Blogger Posts and Homepage

How to fix duplicate meta description error
This is a quick tutorial on a crawling error which was faced by me recently. Upon checking the seo score of my blog on different seo checker online tools, it shows the Duplicate Meta Description error. After I Google it, I came to know that most of the bloggers are also facing this issue.

Duplicate meta description is not good for SEO and search engines consider it as duplicate contents. So it is better to resolve/fix this error as soon as possible.

To check if your blog has duplicate meta description error or not, open the blog homepage or any post and press CTRL+U. A source file will open. Here you will find duplicate meta description, one below <head> and the other above <title> tag.

This double occurrence of meta tags for description appeared when blogger introduced Search preferences last year that offered blogspot users to insert dynamic description for every post they publish. This option is present inside Blogger's Post editor as "Search Description".

How to fix this error?

There is a very easy method to fix this error. Just follow these steps and you will resolve this issue.
  • Go to Blogger >> Template.
  • Backup your template.
  • Click on Edit HTML.
  • Search for the following lines.
<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>
  • Replace these codes with the following code.
<b:if cond='data:blog.url != data:blog.homepageUrl'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>
</b:if>
</b:if>
  • Save the Template.
That's it. Now you have successfully fixed the duplicate meta description error. In case of any difficulty you face, feel free to ask. Enjoy :)

Comments

Popular Posts