Remove postId related error appearing during Structured data testing

So your blog has structured data and now want to make sure that the web crawlers should also understand that you have placed structured data on your blog. The best way to make sure that is to test your blog URL using https://search.google.com/structured-data/testing-tool. This is not a validator of the tags in your blog but a tool, using which Google makes sure it can read structured data from the page and if required can appear as a rich card in a search result.

If you have a blog on Blogger and have validated it using the Google structured data testing tool, there are chances that you might have seen below error:
The property postId is not recognised by Google for an object of type BlogPosting.

Below are the steps to how to remove postId related error appearing during Structured data testing.
  1. Go to Blogger.com
  2. Select the Blog in which you want to make the change.
  3. Click "Template" in the left menu.
  4. Click on "Edit HTML"
  5. Once the HTML editor appears, click inside the editor and press Ctrl+F. This will show a search box appear on the top right corner of the editor as below:
  6. Paste the following code in the search box and hit enter to find it.
    <meta expr:content='data:post.id' itemprop='postId'/> The code could appear twice so make sure it is under following code: <b:if cond='data:post.firstImageUrl'> <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> </b:if>
  7. Once you find the code comment it out as below:
    <!--<meta expr:content='data:post.id' itemprop='postId'/>-->
  8. Save the template.
You can again test your blog URL at https://search.google.com/structured-data/testing-tool. This time the error for postId will not appear.


Below are the links to fix other errors ad warnings appearing during structured data testing:
A value for the headline field is required.
A value for the url field is required.
A value for the image field is required.
A value for publisher field is required.
The dateModified field is recommended. Please provide a value if available.
The mainEntityofPage field is recommended. Please provide a value if available.
The property postId is not recognised by Google for an object of type BlogPosting.
The property blogId is not recognised by Google for an object of type BlogPosting.

Make Money from Surveys

Popular posts from this blog

The current master key cannot be decrypted

Schema.Object has an unresolved reference to Schema

Remove dateModified related warning appearing during Structured data testing