--> Fix Duplicate Meta Description Error in Posts and Homepage | Experience Lab - Online business creation and development guide for bloggers and startups

Fix Duplicate Meta Description Error in Posts and Homepage

This is a quick post on a crawling error that was causing issues for most of you. For over a year we were all scratching our heads on why Bl...

Duplicate meta descriptionsThis is a quick post on a crawling error that was causing issues for most of you. For over a year we were all scratching our heads on why Blogger is showing two meta descriptions for homepage and post pages. Webmaster tools shows duplicate meta description error for blogger homepage and individual item pages that are posts. If you view your blog's source file then you will find two meta descriptions for the same page. One below <head> tag and one just 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 duplicate Description error?

Last year we shared the code that will install dynamic search description option even in custom templates. If you are using that code then its extremely easy to fix the error. If in case you have not yet added that code or you use Blogger Template's styles then you may simply add the code I will share in today's tutorial.

Follow these easy steps:

  1. Go To Blogger > Template
  2. Backup your template
  3. Click Edit HTML
  4. Search for the following code:

<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>

  Note: If you can not find this code then do not panic and skip this step and follow step#5.

    5.  Now replace the above code with following set of codes:


<b:if cond='data:blog.pageType != &quot;index&quot;'>
      <b:if cond='data:blog.pageType != &quot;item&quot; and data:blog.pageType != &quot;static_page&quot;'>
        <b:if cond='data:blog.metaDescription != &quot;&quot;'>
          <meta expr:content='data:blog.metaDescription' name='description'/>
        </b:if>
     </b:if>
    </b:if>

Note: For those of you who could not find the code in step#4, then you may simply copy the above code (in step#5) and paste it just below <head>

  • The purple code will disable duplicate occurrences on homepage and Search/Archive pages
  • The green code will disable duplicate occurrences on Post Pages and Static pages
       6.  Save your template and you are all done!Now visit your homepage or any post page and click CTRL + U to check its source file. You will find only one occurrence of meta description. :)  

Need help?

I hope this improvement will further optimize your blogspot code structure and will help robots to better crawl and index your content. Please let me know if you needed any help. A great surprise is coming for those who live in our city. We are coming in public again with several new business strategies and ideas. Would love to see you guys this time. Peace and blessings buddies :)

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Fix Duplicate Meta Description Error in Posts and Homepage
Fix Duplicate Meta Description Error in Posts and Homepage
http://lh6.ggpht.com/-Kh3bUey5i3Q/UTzaoQt8KZI/AAAAAAAAJVM/gYanJ3jlbqg/image%25255B9%25255D.png?imgmax=800
http://lh6.ggpht.com/-Kh3bUey5i3Q/UTzaoQt8KZI/AAAAAAAAJVM/gYanJ3jlbqg/s72-c/image%25255B9%25255D.png?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2013/03/fix-duplicate-meta-description-error-in.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2013/03/fix-duplicate-meta-description-error-in.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy