Structured Data Errors – Solved!

Let us analyze how we can solve Structured data errors in the simplest way!

But before digging deep into it, let us understand what is structured data.


What is Structured Data


Structured data, as the name suggests, is the structure of the data on your webpage(including author, title, date published, ratings, images, etc) and how the search engine(or crawler) understands it.

It becomes very important as structured data improves the overall search engine crawling performance of our website and hence improves our SEO

Let us see the types of errors and how we can solve them!

 


Types of errors


 

There are mainly three types of errors –

1. Warning: Missing required field “entry-title”

2. Warning: Missing required field “updated”

3. Missing required field“author”


Solution


 

1. Warning: Missing required field “entry-title” 

 

To fix this error just replace a line of code in the HTML of your theme file (In blogger, go to the theme and then click Edit HTML option).

Find this code(using ctrl+f) in the edit HTML option –

<b:if cond=’data:post.title’>       <h2 class=’post-title’>

and replace it with the following code –

<b:if cond=’data:post.title’> <h2 class=’post-title entry-title’>

Now save your theme and the error will disappear. (Note – the search console will take time to recrawl your pages to reflect the changes. The error will not be shown next time Google crawls your pages so be patient).

 


 

2. Warning: Missing required field “updated”

 

To fix this error just replace a line of code in the HTML of your theme file.

Find this code(using ctrl+f) in the edit HTML option –

<data:post.timestamp/>

and replace it with the following code –

<span class=’updated’><data:post.timestamp/></span>
Now save your theme and the error will disappear( (Note – the search console will take time to recrawl your pages to reflect the changes. The error will not be shown next time Google crawls your pages so be patient).

 


 

3. Warning: Missing required field“author”

 

To fix this error just replace a series of code in the HTML of your theme file.

Find this code(using ctrl+f) in the edit HTML option –

<span class=’post-author vcard’ >
<b:if cond=’data:top.showAuthor’>
<b:if cond=’data:post.authorProfileUrl’>
<span class=’fn’>
<a expr:href=’data:post.authorProfileUrl’ rel=’author’ title=’author profile’>
<data:post.author/>
</a>
</span>
<b:else/>
<span class=’fn’><data:post.author/></span>
</b:if>
</b:if>
</span>

(Note – The above code might be slightly different for different users. In such cases just replace the similar code by the following code )(source:schema.org) –

<span class=’post-author vcard’ itemscope=’itemscope’ itemtype=’http://schema.org/Person’>
<b:if cond=’data:top.showAuthor’>
<b:if cond=’data:post.authorProfileUrl’>
<span class=’fn author’>
<a expr:href=’data:post.authorProfileUrl’ rel=’author’ title=’author profile’>
<span itemprop=’name’><data:post.author/></span>
</a>
</span>
<b:else/>
<span class=’fn author’><span itemprop=’name’><data:post.author/></span></span>
</b:if>
</b:if>
</span>

Now save your theme and the error will disappear( (Note – the search console will take time to recrawl your pages to reflect the changes. The error will not be shown next time Google crawls your pages so be patient).

You can also visit the Google Structured Data Testing Tool(click here) to verify that the errors are fixed!
Thank you, Happy Blogging!

Leave a Reply

Your email address will not be published. Required fields are marked *