Remove image_url 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:
Below are the steps to how to remove postId related error appearing during Structured data testing.
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.
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.
- Go to Blogger.com
- Select the Blog in which you want to make the change.
- Click "Template" in the left menu.
- Click on "Edit HTML"
- 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:
- Paste the following code in the search box and hit enter to find it.
<meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> The code could appear as below: <b:if cond='data:post.firstImageUrl'> <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> </b:if> - Once you find the code comment it out as below:
<!--<b:if cond='data:post.firstImageUrl'> <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> </b:if>--> - Save the template.
Below are the links to fix other errors and 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.