Correcting ERRORS ON BLOG STRUCTURE DATA

I read an email from the Google Search Console team about the problem Structured Data can not be parsed and has just been detected for the helmykediri.com site which must be corrected immediately so as not to disturb the page rank affected. After searching for this information it is indeed very necessary because Google wants everything it crawls to have no alias aliases okay and normal.

And when I check the blog structure data on my blog, it turns out that it turns out the data is not structured properly, there are lots of red signs, aka errors in my blog data. Of course this concerns an article or a post mostly.

Maybe this is also the reason the blog is still considered to be in the process of improvement when I think this blog has been fixed in terms of appearance.

And usually the problem is in certain parts, including:
  1. Image
  2. Author
  3. Publisher
  4. Headline
  5. DateModified
  6. DatePublished
  7. MainEntrityOfPage
  8. Name
  9. etc
And this time I will discuss it in detail the way I did when fixing this blog. of course I can not fix this blog by myself because of the limitations of my knowledge and I who still lay in the world of blogging. Thank God I got references from several blogs including Mas Kompiajaib, Bungfrangki, and Blog Kodekode I combine and find the location of errors on this blog from several articles from them and I try to repackage some of the errors in the data structure of this blog.


1.Eliminating Image Error

Go to Blogger Dashboard
Then Choose Theme - Edit HTML
To simplify the process, use CTRL + F to find the code

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

Then you add the code below right below the code above.

<b:if cond='data:post.firstImageUrl'>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta itemprop="url" expr:content='data:post.firstImageUrl'/>
<meta itemprop="width" content='700'/>
<meta itemprop="height" content='700'/>
</div>
</b:if>

2. Eliminating Publisher Error

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

Then you add the code below right below the code above

<div itemprop="publisher" itemscope='itemscope' itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope='itemscope' itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="URL LOGO BLOG"/>
<meta itemprop="width" content="600"/>
<meta itemprop="height" content="600"/>
</div>
<meta itemprop="name" expr:content="data:blog.title"/>
</div>

You just need to change the URL LOGO BLOG with your blog logo url.

3. Eliminating error dateModified / datePublished

Please find the code that refers to the date the article was posted in the HTML code. About that which is on my blog like this

<a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'> <abbr class = 'published' expr: title = 'data: post.timestampISO8601' itemprop = 'datePublished'> <data:post.timestamp/> </abbr> </a>

If you do not find it try to start searching for the word itemprop = 'datePublished' on my blog found 2 codes then you enter the code below in both codes above.

Then add the code

<span itemprop = 'dateModified'> so that it will look like the code below.
<span itemprop='dateModified'><a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'> <data:post.timestamp/></abbr></a></span>

4. Eliminating MainEntityOfPage Error

Look for the code below again

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

Then you add the code below right below the code above

<div itemscope='itemscope' itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage"/>

5. Eliminates Author & Name Errors

You look for the code below, usually the code is under this code <div class = 'post-footer'>.

<span class = 'author' itemprop = 'author'

Then you replace with the code below

<span class='author' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'><a expr:href='data:post.authorProfileUrl' itemprop='url' rel='publisher' title='author profile'>
<span class='post-author vcard'><span class='fn' itemprop='name'><data:post.author/></span>
</span></a></span>

6. Eliminating Headline Errors

Try to find the code below

<h1 class='post-title entry-title'>
<b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
<a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</h1>

Then you add the code that is marked to be like this  itemprop='headline name'
Then it will be like this

<h1 class='post-title entry-title' itemprop='headline name'>
<b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
<a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</h1>

Note: If your template has h1, h2, h3 then you must add it to all three days!

Maybe it's like that problem solving in the data structure of the blog that I experienced. It seems like there are still many problems that I did not find but if you find it, please share it in the comments so that I can update this article.
Look!ClosedComment