Thursday, August 02, 2018

Fix : blogId and postId structured data errors


Solution:- 

Download working blogger template.

Edit the theme to resolve the blogId and postId structured data errors.


Search for all instances of itemprop='blogId' (and or) itemprop='postId'

copy and paste below code.

Original code:

     <meta expr:content='data:blog.blogId' itemprop='blogId'/>
     <meta expr:content='data:post.id' itemprop='postId'/>

Updated code:

   <!-- Commented section
     <meta expr:content='data:blog.blogId' itemprop='blogId'/>
     <meta expr:content='data:post.id' itemprop='postId'/>
    End Commented section -->
           
    <meta expr:content='data:blog.blogId'/>
    <meta expr:content='data:post.id'/>


Save your Template and test again with the Structured Data Testing Tool.

Once you will the same as mentioned above issue will resolve  the blogid and postid error from your blogger blog.

No comments:

Post a Comment