Mengatasi Eror Date Published Di Structured Data - Bagaimanakah cara Mengatasi Error dateModified & datePublished di Structured Data Testing Tools Google, Berikut ini cara khusus mengatasi Error dateModified & datePublished di Structured Data yang tidak bisa diperbaiki dengan tutorial
Mengatasi Error dateModified & datePublished di Structured Data Kuncinya cuma DUA KODE berikut ini:
<meta expr:content='data:post.timestamp' itemprop='datePublished'/> <meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>
Lalu Simpan kedua kode Diatas di bawah dibawah ini:
<div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
Contoh:
<b:includable id='post' var='post'> <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'/> <meta expr:content='data:post.timestamp' itemprop='datePublished'/> <meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>
<b:includable id='mobile-post' var='post'> <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'/> <meta expr:content='data:post.timestamp' itemprop='datePublished'/> <meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>/>
Lalu Simpan, Selesai
Namun Jika errornya hanya dateModified saja, maka:
Coba Lihat Kode dibawah :
<span class='post-timestamp'>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published updated' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
</span>
Lalu Ganti
<span class='post-timestamp'>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published updated' expr:title='data:post.timestampISO8601' itemprop='datePublished dateModified '><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
Coba Lihat Kode dibawah :
<span class='post-timestamp'>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published updated' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
</span>
Lalu Ganti
<span class='post-timestamp'>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published updated' expr:title='data:post.timestampISO8601' itemprop='datePublished dateModified '><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
</span>
Catatan:
Perubahan hanya di kode warna BIRU , yaitu menambahkan dateModified di belakang datePublished.
Nah sobat itulah tadi sedikit Mengatasi Eror Date Published Di Structured Data,selamat mencoba dan semoga bermanfaat,terimakasih.
Catatan:
Perubahan hanya di kode warna BIRU , yaitu menambahkan dateModified di belakang datePublished.
Nah sobat itulah tadi sedikit Mengatasi Eror Date Published Di Structured Data,selamat mencoba dan semoga bermanfaat,terimakasih.

Belum ada tanggapan untuk "MENGATASI EROR DATE PUBLISHED DI STRUCTURED DATA"
Post a Comment