How To Fix The Schema Org Structure That Errors On Blogs

How To Put The Markup Schema Org. Schema.org is a collaboration by Google, Microsoft, and Yahoo! to improve the web by creating a common vocabulary to describe data on the web. If you add schema.org markup to your HTML page, different companies and products including Google search will understand the data on your site. Also, if you add schema.org markup to HTML formatted emails, non-Gmail email products will probably understand the data.
When you check your blog use the Structured Data Testing Tool. Is "No problem" alias "All good", or is there a "red report" in the form of error missing and warning? Error in structured data lies in the blog template and blog dashboard settings that installed schema org micro data. The error starts from attribute image, headline, until author missing and required.

How To Fix The Schema.Org Structure Correctly
To fix the meta data structure Schema.org do not forget, formerly Backup your Templates first. In a way. Open the template and edit HTML, Select All and Copy & amp; Paste in Notepad. Just in case if there are errors that cause errors beyond our capabilities or other things that become a constraint of structured improvements to your blogger data.

1. Initial Steps: Dashboard & gt; Templates & gt; Edit HTML
2. Resolve of error Error image_url. The property image_url is not recognized by Google for an object of type BlogPosting. Delete all this code:

<b:if cond='data:post.thumbnailUrl'>
<meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
</b:if>


3. Resolve of error Error blogId. The property blogId is not recognized by Google for an object of type BlogPosting. Delete all this code:

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

4. Resolve of error Error postId. The property postId is not recognized by Google for an object of type BlogPosting. Delete all this code:

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

5.  Resolve of error Headline. A value for the headline field is required.Find all post-title entry-title code and add code 'itemprop =' headline '. Or change itemprop = 'name' to itemprop = 'headline'

For example:

<h1 class='post-title entry-title' itemprop='name'>
<h2 class='post-title entry-title' itemprop='name'>
<h3 class='post-title entry-title' itemprop='name'>

Change to be:

<h1 class='post-title entry-title' itemprop='headline'>
<h2 class='post-title entry-title' itemprop='headline'>
<h3 class='post-title entry-title' itemprop='headline'>

6. Resolve of error Error Image. A value for the image field is required. Change to:
Copy all the following code, then place it under <data:post.body/>

<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>

7. Resolve of error Error Publisher, A value for the publisher field is required. Copy all the following code, then place it under <data:post.body/>

<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=''Url Logo' alt='logoblog'/>
      <meta itemprop='url' content='Url Logo' alt='logoblog'/>
      <meta itemprop='width' content='600'/>
      <meta itemprop='height' content='60'/>
    </div>
    <meta itemprop='name' expr:content='data:blog.title'/>
</div>

Change the red image url with the url of your blog's blog image link, or if you do not have a logo, leave it! That's a general blog picture really.

8. Resolve of error Error Warning dateModified. The dateModified field is recommended. Please provide a value if available. Find code below:

<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

Or

<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

Put the following code underneath:

<meta expr:content='data:post.timestamp' itemprop='datePublished'/>
<meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>

Also make sure that your numbering / writing date setting is like this 05/04/2017 03: 12: 9 PM. Go to Dashboard settings, then open Language and Formatting. In the Format Timestamp section set the date form as the example of writing the date earlier.

9. Resolve of error Error mainEntityOfPage. The mainEntityOfPage field is recommended. Please provide a value if available. Find this code:

<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

Or

<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

And replace with code below:

<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'/>

10. Resolve of error Missing author. Adding this code after <data:post.body/>

<!-- hCard"author" Start -->
<span class='post-author vcard' style='display:none'>
<b:if cond='data:top.showAuthor'> <data:top.authorLabel/>
<b:if cond='data:post.authorProfileUrl'>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
<a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
<span itemprop='name'>
<data:post.author/>
</span> </a>
</span> <b:else/>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<span itemprop='name'><data:post.author/>
</span>
</span>
</b:if>
</b:if>
</span>
<!-- hCard"author" End -->


RELATED POST
Disqus Comments