Skip to content Skip to sidebar Skip to footer

Cara Mengatasi Semua Error Structured Data: Image, Author, Updated, Publisher

Cara Mengatasi Semua Error Structured Data
 Cara Mengatasi Semua Error Structured Data "Missing Image, Updated, Author, blogId, postId" dll. di Testing Tools Google.

CEK blog Anda di Structured Data Testing Tool. Apakah "Tidak ada masalah" alias "All good", ataukah ada "rapor merah" berupa error missing dan warning? 

Error di structured data biasanya ada pada template blog yang dipasang schema org micro data. Kesalahannya mulai dari image, headline, hingga author missing and required?

Kalau dibiarkan juga sebenarnya gak apa-apa. Namun, jaga-jaga saja, biar mesin pencari kian kenceng indeks blog kita.

Cara Mengatasi Semua Error Structured Data Berikut ini Cara Mengatasi Semua Error Structured Data Blogger

Namun, jangan lupa, sebelumnya Backup dulu Template Anda. 

Cara mengamankan file template: Select All dan Copy & Paste di Notepad atau Download dulu templatenya. Buat jaga-jaga kalo error atau hal lain yang menjadi kendala perbaikan structured data blogger Anda.

Langkah Awal: Dashboard >Template > Edit HTML

Mengatasi Error image_url

The property image_url is not recognized by Google for an object of type BlogPosting. Hapus semua kode ini:
 
<b:if cond='data:post.thumbnailUrl'> 
<meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/> 
</b:if>

Mengatasi Error blogId

The property blogId is not recognized by Google for an object of type BlogPosting. Hapus semua kode ini:

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


Mengatasi Error postId

The property postId is not recognized by Google for an object of type BlogPosting. Hapus semua kode ini:

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

Error Headline

A value for the headline field is required. Temukan semua kode post-title entry-title dan tambahkan kode 'itemprop='headline' atau ubah itemprop='name' menjadi  itemprop='headline'

Misalnya:

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

Ubah menjadi:

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


Mengatasi Error Image

A value for the image field is required. Copas kode berikut ini di bawah semua kode <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>

Error Publisher

A value for the publisher field is required. Copas kode berikut ini di bawah semua kode <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='http://1.bp.blogspot.com/-39HRU19h4kk/VlrZJ1KEjiI/AAAAAAAAMxI/RYXIg2OkzQA/s1600/blog%2Bblogger%2Bblogging.jpg' alt='logoblog'/>
      <meta itemprop='url' content='http://1.bp.blogspot.com/-39HRU19h4kk/VlrZJ1KEjiI/AAAAAAAAMxI/RYXIg2OkzQA/s1600/blog%2Bblogger%2Bblogging.jpg' alt='logoblog'/>
      <meta itemprop='width' content='600'/>
      <meta itemprop='height' content='60'/>
    </div>
    <meta itemprop='name' expr:content='data:blog.title'/>
</div>

Ubah url gambar warna merah dengan url link gambar logo blog Anda, atau jika tak punya logo, biarkan! Itu gambar blog umum kok, gpp.


Mengatasi Error Warning dateModified 

The dateModified field is recommended. Please provide a value if available. Temukan kode ini: 

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

Atau

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

Copas kode berikut ini di bawahnya:

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


Error mainEntityOfPage 

The mainEntityOfPage field is recommended. Please provide a value if available. Temukan kode ini: 

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

Atau

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

dan GANTI dengan kode ini:

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

Mengatasi Missing 'author

Kadang setelah semua langkah di atas masih ada missing author. Tambahkan kode berikut ini di bawah kode  <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 -->

Demikian Cara Mengatasi Semua Error Structured Data: Image, Author, Updated, Publisher, khususnya di template blog bawaan blogger atau template blogger hasil modifikasinya. Good Luck!


1 comment for "Cara Mengatasi Semua Error Structured Data: Image, Author, Updated, Publisher"

  1. Terima kasih informasinya, akhirnya blog saya sudah tidak ada pesan error lagi.

    ReplyDelete