Tuesday, November 5, 2013

Fix Duplicate Meta Description Tags in Posts and Homepage from Blogger

Fix Duplicate Meta Description Tags in Posts and Homepage from Blogger

Learn how to remove Duplicate Meta Description Tags from Blogger. This tutorial will helps you to remove duplicate Meta Description Tags in blog posts and homepage.

Backup your template and Follow these easy steps:
 Go To Blogger -> Template
Click Edit HTML
Search for the following code,
<b:if cond='data:blog.metaDescription != &quot;&quot;'>
<meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>

Now replace the old code with following set of codes..
<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>
Now save your template and open your blog’s homepage and check source code. Its all done..

No comments:

Post a Comment