Fix Template: There is a Structured Data Error Warning
A value for the author field is required. Values for image fields are required. A value for the publisher field is required. The dateModified field is recommended. Provide grades if available. The image field is recommended. Provide grades if available. The mainEntityOfPage field is recommended. Provide grades if available.
The warning comes after we did a test testing of the structured data of the blog template with Google's Structured Data Testing Tool. If you are one of them who experienced something like that? you should immediately fix your blog template because this will affect the ranking on search engines. by fixing these mistakes, certainly can increase the presence of our blog more preferred, making blog template more seo, bring in lots of visitors and many more other benefits obtained
Well. This time I want to share a little from my previous experience before using this template, the same as having encountered an error as I have mentioned above. By slowly correcting and looking for errors what caused the error, so one by one the number of error warnings has decreased until in the end my blog template is free of error warnings, in other words the error warnings have disappeared when checking in the Structural Data Testing Tools. What about the blog template you use? Have you checked the structured data using the tools provided by Google? If you don't see any warning ... good!
Fixing such is arguably easy and difficult for beginners, because we have to deal with HTML code in the template. As beginners, we only rely on feeling to guess the HTML code inside. in essence, we cannot understand each and every structure of HTML code in terms of format, tags, functions and language, only geniuses and those who have higher education who understand and are able to read it.
This time I want to give a simple tutorial on how to fix the error part of the template. This makes search engines unable to understand the purpose and content contained in these website pages
As a first step I would like to explain first that each template used has a different code structure, how to fix it is certainly not the same. Average free templates are not compiled perfectly by the developer. So do not be surprised if there are such error warnings. And if it is not resolved the possibility of the number of error warnings will increase with the number of posts that you publish
Consider the example error warning error in the following image
First of all make sure that the error warning in your template is the same as the example image above. if it's not the same, it would be nice to make improvements slowly and carefully. If you enter the wrong code, it might damage the components in your template
To make it safer it is better to do the repairs one by one, For example: this part of the field has been fixed, then check the results whether the error has disappeared. Then do the same thing continuously until it is completely clean from these warnings and errors
Examples of errors in BlogPosting
We will start from the easy first, such as following the steps and how to overcome them, look carefully at my post!
Look for code that looks like the one above, the that code is in the Tags section
<body>
in this section
</body>
Usually like tucked under Tag <data:post.body/>
There are more than one tag. You just search close to the code like that .. Later you will find the code which is more or less the same as the code in the Purple Box above
Put the following code below it.
Under the code which is almost the same as the code in the Purple Box
So the result will be like this
If it is already. please Save Template , then check whether the error has disappeared? If some posts are still found there is still an error in the image area ... You only need to upload an image in your post
When finished, save and check the results
If it has been applied and saved
The next step is
<b:if cond='data:post.dateHeader'>
Then look for the code as below
Please replace with this one
If the code is different,
Look for something similar to that code, which is related to Update Publisher . Just add the code
<span itemprop='dateModified'>
make sure the code that contains (Update Publisher) is within these brackets. Then end with a closing tag
</span>
Already completed!
Check the results, Is the structured data error warning missing? if yes means you have successfully fixed it
Tutorial How to Overcome Errors: Missing Structured Data Items, in Blogspot Templates
The warning comes after we did a test testing of the structured data of the blog template with Google's Structured Data Testing Tool. If you are one of them who experienced something like that? you should immediately fix your blog template because this will affect the ranking on search engines. by fixing these mistakes, certainly can increase the presence of our blog more preferred, making blog template more seo, bring in lots of visitors and many more other benefits obtained
Well. This time I want to share a little from my previous experience before using this template, the same as having encountered an error as I have mentioned above. By slowly correcting and looking for errors what caused the error, so one by one the number of error warnings has decreased until in the end my blog template is free of error warnings, in other words the error warnings have disappeared when checking in the Structural Data Testing Tools. What about the blog template you use? Have you checked the structured data using the tools provided by Google? If you don't see any warning ... good!
Fixing such is arguably easy and difficult for beginners, because we have to deal with HTML code in the template. As beginners, we only rely on feeling to guess the HTML code inside. in essence, we cannot understand each and every structure of HTML code in terms of format, tags, functions and language, only geniuses and those who have higher education who understand and are able to read it.
This time I want to give a simple tutorial on how to fix the error part of the template. This makes search engines unable to understand the purpose and content contained in these website pages
As a first step I would like to explain first that each template used has a different code structure, how to fix it is certainly not the same. Average free templates are not compiled perfectly by the developer. So do not be surprised if there are such error warnings. And if it is not resolved the possibility of the number of error warnings will increase with the number of posts that you publish
Consider the example error warning error in the following image
First of all make sure that the error warning in your template is the same as the example image above. if it's not the same, it would be nice to make improvements slowly and carefully. If you enter the wrong code, it might damage the components in your template
To make it safer it is better to do the repairs one by one, For example: this part of the field has been fixed, then check the results whether the error has disappeared. Then do the same thing continuously until it is completely clean from these warnings and errors
Examples of errors in BlogPosting
We will start from the easy first, such as following the steps and how to overcome them, look carefully at my post!
Error: Field value for image required
The fix first of all you have to look for code more or less like this
<div class='post-box' itemprop='blogPost' itemscope='itemscope' itemtype='https://schema.org/BlogPosting'>
Look for code that looks like the one above, the that code is in the Tags section
<body>
in this section
</body>
Usually like tucked under Tag <data:post.body/>
There are more than one tag. You just search close to the code like that .. Later you will find the code which is more or less the same as the code in the Purple Box above
Put the following code below it.
Under the code which is almost the same as the code in the Purple Box
<b:if cond='data:post.firstImageUrl'>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/>
</div>
</b:if>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/>
</div>
</b:if>
So the result will be like this
<div class='post-box' itemprop='blogPost' itemscope='itemscope' itemtype='https://schema.org/BlogPosting'>
<b:if cond='data:post.firstImageUrl'>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/>
</div>
</b:if>
<b:if cond='data:post.firstImageUrl'>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/>
</div>
</b:if>
If it is already. please Save Template , then check whether the error has disappeared? If some posts are still found there is still an error in the image area ... You only need to upload an image in your post
Warning: The mainEntityOfPage field is recommended. Provide grades if available
To overcome it. Do you still remember where the code was installed before? if you remember ... Just add the code below! Right Below under the code you installed earlier
<div itemType='https://schema.org/WebPage' itemprop='mainEntityOfPage' itemscope='itemscope'/>
<meta expr:content='data:post.url' itemprop='mainEntityOfPage'/>
<meta expr:content='data:post.url' itemprop='mainEntityOfPage'/>
When finished, save and check the results
Error: Value for publisher field is required
The fix, please copy and place the following code. Right below it is below the code you entered earlier
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta content=' Include an image link here, an image that is the logo of your blog 'itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/> </div>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta content=' Include an image link here, an image that is the logo of your blog 'itemprop='url'/>
<meta content='320' itemprop='width'/>
<meta content='172' itemprop='height'/> </div>
If it has been applied and saved
The next step is
Warning: The dateModified field is recommended. Provide grades if available
How to fix it. You need to look for codes more or less like this<b:if cond='data:post.dateHeader'>
Then look for the code as below
<abbr class='updated published' expr:title='data:post.timestampISO8601' itemprop='datePublished' style='text-decoration:none;border-bottom:none;'><data:post.dateHeader/></abbr>
The intended code is next to the previous code you installed. You need to look for it in that section. If you have found it. Next, please Delete Code Please replace with this one
<span itemprop='dateModified'>
<abbr class='updated published' expr:title='data:post.timestampISO8601' itemprop='datePublished' style='text-decoration:none;border-bottom:none;'><data:post.dateHeader/></abbr>
</span>
<abbr class='updated published' expr:title='data:post.timestampISO8601' itemprop='datePublished' style='text-decoration:none;border-bottom:none;'><data:post.dateHeader/></abbr>
</span>
If the code is different,
Look for something similar to that code, which is related to Update Publisher . Just add the code
<span itemprop='dateModified'>
make sure the code that contains (Update Publisher) is within these brackets. Then end with a closing tag
</span>
Error: A value for the datePublished field is required
Add the following code Right Below dateModified
<b:if cond='data:top.showTimestamp'>
<span class='date-block'><abbr class='updated published' expr:title='data:post.timestampISO8601' itemprop='datePublished' style='text-decoration:none;border-bottom:none;'><data:post.timestamp/></abbr></span></b:if>
<span class='date-block'><abbr class='updated published' expr:title='data:post.timestampISO8601' itemprop='datePublished' style='text-decoration:none;border-bottom:none;'><data:post.timestamp/></abbr></span></b:if>
Already completed!
Check the results, Is the structured data error warning missing? if yes means you have successfully fixed it
Tutorial How to Overcome Errors: Missing Structured Data Items, in Blogspot Templates