Fixing Structured Data Errors | image_url | mainEntityOfPage in Blogger

Yesterday some one reported me about new error showing in their website while testing in Structured Data Testing Tool. First I ignored but when I test my blog in it I found that there is so many errors exist in my website but now all are fixed.
Fixing Structured Data Errors
To fix this I tested Google Sites to check the error exist or not and you don't believe me they have also same error exist. But I solved all the issue after so many trail and error, and make a list of all Errors and the Basic Requirement for the Structured Data Testing Tool.

First go and check your website errors in the tool from Google called, "Structured Data Testing Tool" and using schema markup validator if you find any error just follow the tutorial for your website errors. If your error is not available here just comment it out I will try to cover it in my tutorial.
Fixing Structured Data Errors
Fixing Structured Data Errors
{tocify} $title={Table of Contents}

What Is Structured Data Markup?

Structured Data Markup is a bunch of tags used in HTML of the website to provide quick information (microdata) about the content and structure of the web page.


Why Structured Data Markup required?

Structured data markup provides additional information to search engines so they can provide better and more relavant search results. It allows webmasters and publishers to better promote their content on the Internet.


Most Common Structured Data Errors

Listed the most common structured data errors and fixed them:
  • The property image_url is not recognized by Google for an object of type BlogPosting.
  • The property blogId is not recognized by Google for an object of type BlogPosting.
  • The property postId is not recognized by Google for an object of type BlogPosting.
  • A value for the headline field is required.
  • A value for the image field is required.
  • A value for the 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.


Find & Fix Structured Data Errors.

This page describes various Google Structured Data Testing Tool errors so you can fix your schema markup and get prominent results.


Basic Requirement

<div itemscope itemtype="http://schema.org/BlogPosting">
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://google.com/article"/>
<h2 itemprop="headline">Article headline</h2>
<h3 itemprop="author" itemscope itemtype="https://schema.org/Person"> By <span itemprop="name">John Doe</span>
</h3>
<span itemprop="description">A most wonderful article</span>
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<img src="https://google.com/thumbnail1.jpg"/>
<meta itemprop="url" content="https://google.com/thumbnail1.jpg">
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<img src="https://google.com/logo.jpg"/>
<meta itemprop="url" content="https://google.com/logo.jpg">
<meta itemprop="width" content="600">
<meta itemprop="height" content="60">
</div>
<meta itemprop="name" content="Google">
</div>
<meta itemprop="datePublished" content="2015-02-05T08:00:00+08:00"/>
<meta itemprop="dateModified" content="2015-02-05T09:20:00+08:00"/>
</div>
So I read all the documentation to solve all the errors. You can read below the tutorial how I solve all these problem one by one.
Note:
  • Before doing this backup your template.
  • Go to Blogger Dashboard >> Template >> Edit HTML
  • For all this tutorial you have to stay in the code editor in blogger.
  • Don't try to search all at once search one code i.e. in first case search(Ctrl + F) for data:post.thumbnailUrl you will get all the code.

1. The property image_url is not recognized by Google for an object of type BlogPosting.

Find this in your code editor and remove this entirely. It may appear 2 time in your template.
<b:if cond='data:post.thumbnailUrl'>
<meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
</b:if>

2. The property blogId is not recognized by Google for an object of type BlogPosting.

Find this in your code editor and remove this entirely. It may appear 2 time in your template.
<meta expr:content='data:blog.blogId' itemprop='blogId'/>

3. The property postId is not recognized by Google for an object of type BlogPosting.

Find this in your code editor and remove this entirely. It may appear 2 time in your template.
<meta expr:content='data:post.id' itemprop='postId'/>

4. A value for the headline field is required.

Find this code in your code editor (It may appear two time in your template)
<h3 class='post-title entry-title' itemprop='name'>
Replace with following tag
<h3 class='post-title entry-title' itemprop='headline'>

5. A value for the image field is required.

Find this tag. (Don't remove it)
<data:post.body/>
Paste these below code after the <data:post.body/> tag (This tag may appear two or three time)
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<b:if cond='data:post.firstImageUrl'>
<img style='display:none;' expr:src='data:post.firstImageUrl'/>
<meta itemprop='url' expr:content='data:post.firstImageUrl'/>
</b:if>
<meta itemprop='width' content='800'/>
<meta itemprop='height' content='800'/>
</div>
You can set image height and width, only change 800 to any other number.

6. A value for the publisher field is required.

Find this tag. Don't remove it.
<data:post.body/>
Paste these below code after the <data:post.body/> tag (This tag may appear two or three time)
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<img style='display:none;' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4IevKrkZCml2j-De98oiLOq3cWtP0tcN1y1MrzqrBDQ5dzt-TcYH8Ava1kUKIDQcJghyrDeJJXij_dxfeC83QZBHaLDREU_DOHpdC7Y6MWU6_F3aDJ_b8cJKg1J7VkaAtOUECxZXwEJb9/s1600/problogbooster-logo.png'/>
<meta itemprop='url' content='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4IevKrkZCml2j-De98oiLOq3cWtP0tcN1y1MrzqrBDQ5dzt-TcYH8Ava1kUKIDQcJghyrDeJJXij_dxfeC83QZBHaLDREU_DOHpdC7Y6MWU6_F3aDJ_b8cJKg1J7VkaAtOUECxZXwEJb9/s1600/problogbooster-logo.png'/>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>
  • Change the highlighted image link with your logo image link
  • Change height and weight with any number

7. The dateModified field is recommended. Please provide a value if available.

Find this tag
<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
If you have customize blogger find this
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
And paste these code after above tag
<meta expr:content='data:post.timestamp' itemprop='datePublished'/>
<meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>

8. The mainEntityOfPage field is recommended. Please provide a value if available.

Find this tag
<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
If you have customize blogger find this
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
And replace the code with this
<div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta itemscope='itemscope' itemprop='mainEntityOfPage' itemType='https://schema.org/WebPage' expr:itemid='data:post.link ? data:post.link : data:post.url'/>
If you have other problem just comment it below, give your website and problem in detail or you can contact me with your template and tell me about the particular error.

If you liked this article, then please subscribe to our blog for more blogger tutorials.


If you enjoyed this article, please share it with your friends and help us spread the word.

Next Post Previous Post
No Comment
Add Comment
comment url
But before you read the page, I just want to tell you that; you can now convert every visitor & every impression in $$$ with the most advanced & reliable monetization platform that having highest fill rate & the best payouts in the industry.
ADTR Network

One day approval. Monetize your traffic from day 1, with 100% fill rates, higher CPM, & quick payouts. Register to Start Earning Right Now →

Join
ADTR Network
Now

New AI-Powered Content Marketing Toolkit
Rated 5/5 stars in 10,000+ reviews. Stay ahead of the competition with next-gen tech adoption by optimizing content for the target audience to drive 3x faster results. Act now to gain a competitive edge in the market.

ADTR

Improve Revenue, Performance,
&
Grow Traffic Faster

Join Adsense Certified Ad Partner
"ADTR is a must have automatic testing tool for serious publishers."
300% Rise
in AdSense Earnings
Get results from Day 1
It's FREE
Read The Case Study

Testimonials

Client Name 1

I joined PBB when I started blogging 6 years ago. It was my go-to resource for just about ANYTHING!! Without it, I would not have continued down this journey. Having the support, motivation and resources available when you’re in such a lonely profession like blogging is crucial to success. Thank you PBB for helping me turn my passion into a full-time career!!!.

Nikhil Agarwal
Client Name 2

Thank you! After many years of dreaming and enjoying the beauty and insight from numerous blogs I found the courage to start one myself. I could not have done it with your step-by-step guidance! Thank you so much for Pro Blog Booster, for your patient instructions, and for your nudge to publish before it is perfect! I have a long way to go, but am excited to be tippy-toeing into the blog world!

Nandhini Sinha
Client Name 3

I highly recommend ProBlogBooster to any new tech blogger. I began my journey several years ago. The site holds a wealth of information and is both inspiring and educational. They keep up-to-date with the latest standards and trends bringing key information to help you start and grow your technology blogging business. The tech tuts are very in details and the support you receive will help to overcome any challenges along the way. Again, I highly recommend PROBLOGBOOSTER as your companion for tech blogging!

Arnab Tamada
Client Name 4

Problogbooster is awesome. If you’re serious about taking your blog to the next level then there’s no better blog. It has given me the confidence to keep growing my eCommerce site and view it as a serious business.

Matt Flynn

Disclaimer

We are a professional review site that operates like any other website on the internet. We value our readers' trust and are confident in the information we provide. The post may contain some affiliate/referral links, and if you make a purchase through them, we receive referral income as a commission. We are unbiased and do not accept fixed marketing articles or fake reviews. We thoroughly test each product and only give high marks to the very best. We are an independent organization and the opinions/views/thoughts expressed here are our own.

Privacy Policy

All of the ProBlogBooster ideas are free for any type of personal or commercial use. All I ask is to keep the footer links intact which provides due credit to its authors. From time to time, we may use visitors/readers, information for distinct & upcoming, unanticipated uses not earlier disclosed in our privacy notice. If collected data or information practices changed or improved at some time in the future, we would post all the policy changes to our website to notify you of these changes, and we will use for these new purposes only data collected from the time of the policy change forward. If you are concerned about how your information is used, you should check back our website policy pages periodically. For more about this just read out; Privacy Policy