Home » , , » Blogger Fix Duplicate Meta Description Error in Posts and Homepage

Blogger Fix Duplicate Meta Description Error in Posts and Homepage


Blogger Fix Duplicate Meta Description Error in Posts and Homepage
This is a Blogger Fix post about crawling error issue on blogger blogspot which was giving troubles for many blogger users for the past one year. We all do know the reason why Blogger is showing 2 meta descriptions for homepage and post pages in Google SERP(Search Engine Results Page). Google Webmaster tools will show you if you have duplicate meta description error for blogger homepage and also individual pages . If you see your website source file for chrome users you can use the shortcut key Ctrl+U to view the source code of the webpage then you’ll find two meta descriptions for the same page. One under the <head> tag and one just above the <title> tag. This dual occurrence of blogger meta tags for description came out when blogger introduced the Search preferences options last year that provides blogspot users to place dynamic meta description for each and every blog post they publish. This option is available inside Blogger's Post editor under "Search Description".

How to Add Meta Description to Custom Blogger Templates

First add this meta description to blogger to solve this problem very easily.
1.Go to Template -> Edit HTML (backup your template).
2.Press Ctrl+F on your keyboard.
3.Search for <head> tag.
4.Just below <head> add the following dynamic meta description code.
<b:if cond='data:blog.metaDescription != &quot;&quot;'> 
<meta expr:content='data:blog.metaDescription' name='description'/> 
</b:if>
5.Save your template
Now everytime you add a unique meta description to your post it will automatically generate for each and every post you publish.

How to Fix Duplicate Meta Description Error for Blogger?

If you add the above dynamic meta description for custom blogger templates. Then it will be quite simple to resolve this problem.Follow the below steps carefully.

1.Go to Template -> Edit HTML (backup your template).
2.Press Ctrl+F on your keyboard.
3..Find the following code on your blogger template
<b:if cond='data:blog.metaDescription != &quot;&quot;'> 
<meta expr:content='data:blog.metaDescription' name='description'/> 
</b:if>
Note: If you can't able to find the code follow the above steps "How to Add Meta Description to Custom Blogger Templates".

5.Now replace the above code with below 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>
The blue code will disable duplicate occurrences of meta description on homepage
The green code will disable duplicate occurrences of meta description on Post Pages

6.Save your template.

Now check out your website homepage or any other post page and click Ctrl + U to check the source code. Now you can see only one occurrence of meta description on all your blog post. Let us know if this tutorial help you in the comments below.

Subscribe For Free To Get More Articles Like This !