Digital Learning

Sunday, July 12, 2020

How to Fix Blogger Structured Data Errors?

3 Steps to Fix Blogger Structured Data Errors:
Step 1: Find the Keyword position
Step 2: Comment the Existing Markup. How to comment in HTML?
Step 3: Paste the Proposed Markup below the commented code. 
Now let’s start Fixing our Blog.
Add additional data to Blog Schema
Step 1: CTRL+F ? http://schema.org/Blog
Step 2: Existing markup: To be commented
<div itemscope='itemscope' itemtype='http://schema.org/Blog' >
&lt;meta expr:content='data:blog.title' itemprop='name'/&gt;
<b:if cond='data:blog.metaDescription'>
&lt;meta expr:content='data:blog.metaDescription' itemprop='description'/&gt;
</b:if>
</div>

Step 3: Proposed markup: To be pasted
<div itemscope='itemscope' itemtype='http://schema.org/Blog' >
&lt;meta expr:content='data:blog.title' itemprop='name'/&gt;
&lt;meta content='YOUR NAME' itemprop='creator'/&gt;
<b:if cond='data:blog.metaDescription'>
&lt;meta expr:content='data:blog.metaDescription' itemprop='description'/&gt;
</b:if>
&lt;meta content='LOGO URL' itemprop='image'/&gt;
</div>

Fix Blogger BlogId, PostId Errors in Structured Data
Step 1: CTRL+F ? data:blog.blogId
You may find this keyword in 2 places. Do the following change in both the places.
Step 2: Existing markup: To be commented
&lt;meta expr:content='data:blog.blogId' itemprop='blogId'/&gt;
&lt;meta expr:content='data:post.id' itemprop='postId'/&gt;

Step 3: Proposed markup: To be pasted
&lt;meta expr:content='data:blog.blogId'/&gt;
&lt;meta expr:content='data:post.id'/&gt;

Fix Headline Missing Blogger Structured Data Error
Step 1: CTRL+F ? post-title entry-title
You may find this keyword in 2 places. Do the following change in both the places.
Step 2: Existing markup: To be commented
<h3 class='post-title entry-title' itemprop='name'>
<b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
<a href=""><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</h3>

Step 3: Proposed markup: To be pasted
<h1 class='post-title entry-title' itemprop='headline'>
<b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
<a href=""><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</h1>

Fix mainentityofpage Missing and Required Structured Data Error
Step 1: CTRL+F ? http://schema.org/BlogPosting
You may find this keyword in 2 places. Do the following change in both the places.
Step 2: Existing markup: To be commented
<div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

How to Generate Sitemap in XML for Blogger?

Step 3: Proposed markup: To be pasted
<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
&lt;meta expr:itemid='data:post.link' content= 'data:post.link : data:post.url' itemType='https://schema.org/WebPage' itemprop='mainEntityOfPage' itemscope='itemscope'/&gt;

To fix publisher error place the given below code in place of class='post-timestamp' and type your URL at companyname/blog name.
Fix for Publisher Errors in Structured Data
Step 1: CTRL+F ? class='post-timestamp'
You may find this keyword in 2 places. Do the following change in both the places.

Step 2: Existing markup: To be commented
<span class='post-timestamp'>

Step 3: Proposed markup: To be pasted
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
&lt;meta content='LOGO URL' itemprop='url'/&gt;
&lt;meta content='600' itemprop='width'/&gt;
&lt;meta content='60' itemprop='height'/&gt;
</div>
&lt;meta content='COMPANY NAME/BLOG NAME' itemprop='name'/&gt;
</div>
<span class='post-timestamp'>

(You may write your website URL in place of LOGO URL and you also write your website name in place of COMPANY NAME/BLOG NAME)

Fix Image Structured Data Blogger Error
Step 1: CTRL+F ? data:post.firstImageUrl
Step 2: Existing markup: To be commented
<b:if cond='data:post.firstImageUrl'>
&lt;meta expr:content='data:post.firstImageUrl' itemprop='image_url'/&gt;
</b:if>

Step 3: Proposed markup: To be pasted
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<b:if cond='data:post.firstImageUrl'>
&lt;meta expr:content='data:post.firstImageUrl' itemprop='url'/&gt;
<b:else/>
&lt;meta content='LOGO URL' itemprop='url'/&gt;
</b:if>
&lt;meta content='800' itemprop='width'/&gt;
&lt;meta content='800' itemprop='height'/&gt;
</div>

And
Step 1: CTRL+F ? data:post.thumbnailUrl
Step 2: Existing markup: To be commented
<b:if cond='data:post.thumbnailUrl'>
&lt;meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/&gt;
</b:if>

Step 3: Proposed markup: To be pasted
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<b:if cond='data:post.thumbnailUrl'>
&lt;meta expr:content='data:post.thumbnailUrl' itemprop='url'/&gt;
<b:else/>
&lt;meta content='LOGO URL' itemprop='url'/&gt;
</b:if>
&lt;meta content='800' itemprop='width'/&gt;
&lt;meta content='800' itemprop='height'/&gt;
</div>

How to fix Blogger Structure Data Errors?

Fix Blogger dateModified Recommended Structured Data Error-------------Its working
Step 1: CTRL+F ? abbr class='published'
You may find this keyword in 2 places. Do the following change in both the places.
Step 2: Existing markup: To be commented
<b:if cond='data:post.url'>
&lt;meta expr:content='data:post.url.canonical' itemprop='url'/&gt;
<a class='timestamp-link'href="" rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
</b:if>

Step 3: Proposed markup: To be pasted
<b:if cond='data:post.url'>
&lt;meta expr:content='data:post.url.canonical' itemprop='url'/&gt;
<a class='timestamp-link'href="" rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
&lt;meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/&gt;
</b:if>

Fix Blogger datePublished Format Structured Data Error
Exit the HTML Template Editor.
Go to"Settings"?Choose "Language and formatting".
Select Timestamp Format like "21/09/2016" (dd/mm/yyyy).
Click"Save"
Check "Google Structured Data Testing Tool"
Fix error- a value for the url field is required
Step 1: Find code (CTRL+F), 'https://schema.org/Organization'>

Step 2: Existing markup: To be commented
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
After above code you have to paste the below code:

Step 3: Proposed markup: To be pasted
<meta itemprop="url" content="YOUR WEBSITE URL" />

No comments:

Post a Comment