How to Solve mainEntityOfPage field is recommended on Structured Data Testing Tool

Your getting Warning from Structured Data Testing Tool that mainEntityOfPage field is recommended. Please provide a value if available. This blog post will cover all your Structured Data Testing Tool.

Let’s see how to fix mainEntityOfPage field is recommended. Please provide a value if available.

How to Solve mainEntityOfPage field
How to Solve mainEntityOfPage field

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

Follow this steps to solve mainEntityOfPage field is recommended error.

  1. Log into your Blogger Dashboard.
  2.  Click Theme.
  3. Click  Edit HTML.
  • Search the word <b:includable id=’post’ var=’post’>.  And you will see the line
<b:includable id=’post’ var=’post’>
    <div class=’post hentry uncustomized-post-template’ itemprop=’blogPost’ itemscope=’itemscope’ itemtype=’http://schema.org/BlogPosting’>
  • Replace by the below code
<b:includable id=’post’ var=’post’>
    <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’ content= ‘data:post.link : data:post.url’/>
  • Now look for another one <b:includable id=’mobile-post’ var=’post’>. And you will see the line
<b:includable id=’mobile-post’ var=’post’>
<div class=’post hentry uncustomized-post-template’ itemscope=’itemscope’ itemtype=’http://schema.org/BlogPosting’>
  • Replace by the below code
<b:includable id=’mobile-post’ var=’post’>
   <div class=’post hentry uncustomized-post-template’ itemscope=’itemscope’ itemtype=’http://schema.org/BlogPosting’>
     <meta expr:itemid=’data:post.link’ content= ‘data:post.link : data:post.url’ itemType=’https://schema.org/WebPage’ itemprop=’mainEntityOfPage’ itemscope=’itemscope’/>
  • Once you replace it Click on Save Button and Check again in Structured Data Testing Tool now your issue will be solved

Now this will solve your mainEntityOfPage field is recommended error.

Conclusion

I hope this article has solved all your issues on mainEntityOfPage field is recommended error, now to confirm your changes for validating go to click here.

How to Solve mainEntityOfPage FAQ

  1. What is mainEntityOfPage?

    The Main Entity of the page could be a webpage of your creative work or a URL related to the page which you are adding the snippet. https://schema.org/mainEntityOfPage.

  2. What is Article schema?

    Schema is a language used to help search engines understand the content of your site. Essentially, schema tells search engines what your site or a specific page is about in very simple terms.

  3. What is news article schema?

    A News Article is an article whose content reports news, or provides background context and supporting materials for understanding the news. The number of the column in which the News Article appears in the print edition.

  4. What is Schema Type?

    The schemas are a set of ‘types’, each associated with a set of properties. The types are arranged in a hierarchy. The vocabulary currently consists of 792 Types, 1447 Properties 15 Datatypes, 83 Enumerations and 445 Enumeration members. Browse the full hierarchy in HTML: One page per type.

Leave a Comment

three × 1 =