Blog Contact SM Tool Dashboard SEO Checker

How To Add Structured data in Blogger | Fix All Error

By Ajay Malik
How To Add Structured data in Blogger | Fix All Error How To Add Structured data in Blogger | Fix All Error
Blogging is my favourite blogging platform of All-time because it gives us the freedom to do whatever we want. If you've right tool and guide you can get the max out it.
The most reported question by bloggers that is isn't SEO friendly. But I've seen thousands of Blogspot Blog which are using it to bring millions of user from Google monthly.
fix all structured data error in blogger
Optimizing Blogspot for SEO Isn't a hard task until you try. You just need little Technical Knowledge and a Guide that can help you Step By Step.
That's Why I'm here. Today, I'm going to show you how you can add structured data in blogger and remove all error.
Follow This step by step guide and Your Blog is 100% Optimized for Structured and there is no more error going to left.
Let's Dig it together.

What is Structured Data ?

Structured data are attribute made by bloggers to markup a website's content. for example, if your writing about movies than Google Didn't know what is movie name and who's it director all it saw is a different name.
Adding Structured data to a blogger you are telling to google that hey google "say this is movie name and this is its director."
Learn more about Structured data on universal manual
Here's how Structured Data Change Your Website Look on Google.
serp without breadcrumb markup
(Search Result Without Breadcrumb markup)
search result with breadcrumb markup
(Search Result With Breadcrumb Markup)
I don't Know do you notice or not, but there is a difference in both above image. In first the image there is no breadcrumb markup used that's why the whole URL is showing up. Which isn't a Bad thing. But if the user is searching for the latest updated guide then it is. because as you can saw date is clearly showing is first's image URL.
So, Choice is up to you, Which one you want?

Fixing All Hatom | hentry Error

Unlike Schema markup Hatom and Hentry Error didn't show up in the structured data testing tool. I don't Know why but below image defines it clearly.
hentry errors
(Author of post missing but not showing up in the tool)
Haltom | hentry error only show up in Your Google Search Console. Which make it hard to fix them.
searh console error
(Author error showing up in search console but not in structured data testing tool)
This is How a Perfect hentry optimized Post look Like:
<div 
class='hentry'
> <h1
class='entry-title'
> POST_TITLE </h1> <span
class='vcard'
><a
class='url fn'
href='AUTHOR_PROFILE_URL' rel='author nofollow noopener' target='_blank' title='author profile'>AUTHOR_NAME</a></span> <div
class='entry-content'
> POST_BODY_GOES_HERE </div> <span
class='published'
>DATE_PUBLISHED</span> <span
class='updated'
>DATE_UPDATED</span> </div>
(In hentry, You've to wrap up all your content into different class as shown in above code)
Fix Date Updated/Published error
These are the two most common error found in blogger blog. And I'm sure all fix available on internet are just overlap error word but not real problem.
I searched on the whole internet for the perfect fix of this error but found nothing. But I've a real fix for you.
To Fix Both These error follow Below Steps:
Step 1 - Do To Your Blogger Dashboard > Setting > Language and formatting and Time to format as shown in below image.
correct time format
(Choose these time format in your blogger setting)
Step 2 - Now go To blogger Dashboard > Theme > Edit HTML and Search for below code:
<div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
Once You Found Above code, Place these code Just Below it.
<div style='display:none'>
<span class='published'><data:post.timestamp/></span>
<span class='updated'><data:post.lastUpdatedISO8601/></span>
  </div>
(All done! save and exit)
Fix Missing Author
Missing Author is the second most found error in blogger's search console, Most of the people failed in fixing this error.
To Fix this error Follow Below Steps:
Step 1 Go to Your Blogger Dashboard > Layout and edit your main posts Widget and check author box in it (Shown in Below Image):
fix author error
(Check Author Box and save Widget)
Step 2 - Once you checked Author box then go to Blogger Dashboard > Theme > Edit Theme and Found below code shown in below image (selected area).
author code to delete
(Delete the code shown in image)
Once you deleted above code successfully, Add Below code in place of that:
<span class='vcard'><a class='url fn' expr:href='data:post.authorProfileUrl' rel='author nofollow noopener' target='_blank' title='author profile'><data:post.author/></a></span>
(Save your template)
[WARNING - Deleting above code will cause an error in your schema, Must Follow Our Schema markup Guide below to Fix that Error]
Fix missing Title
This is the least found error in Blogger Template. But Unfortunately, If you got this one. Don't Worry, I've a solution for you.
Follow Below Step to Fix this error.
Step 1 - Found Below Code in Your Template:
<data:post.title/>
(You found this inside hentry code)
Replace above code with below one:
<div class='entry-title'>
<data:post.title/>
</div>
Save Your Template!
Congratulation! You Fixed all Hentry| Haltom error in your template now move to next step and try to fix all blogposting error.
Fix all blogposting Error
I've seen blogposting or says schema markup section of bloggers template is always full of errors no matter how hard you try to fix them but came back again and again.
I've a Final solution for you, After Doing this you'll never get an error related to Blogposting. This will fix all problem related to the publisher, author, image and every other problem.
Follow Below Steps to fix all your Blogposting Errors OR To add blogposting in your template follow from step 2.
Step 1 - Go to Your Blogger Dashboard > theme > Edit Theme and Found and delete all below attributes inside your code:
itemprop='blogPost'
itemscope='itemscope'
itemtype='http://schema.org/BlogPosting'
itemprop='image_url'
itemprop='blogId'
itemprop='postId'
itemprop='name'
itemprop='url'
itemprop='datePublished'
(Search all above attributes using CTRL + f and delete them.)
step 2 - Once you delete all above attribute, Found Below Code in your Template:
<b:includable id='post' var='post'>
step 3 - Add Below Code Just After above code:

<script type='application/ld+json'>{
  "@context": "http://schema.org",
  "@type": "BlogPosting",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": ""
  },
  "headline": "","description": "","datePublished": "",
  "dateModified": "","image": {
    "@type": "ImageObject","url": "",
     "height":800,
    "width":800},"publisher": {
    "@type": "Organization",
    "name": "YOUR_WEBSITE_NAME",
    "logo": {
      "@type": "ImageObject",
      "url": "YOUR_LOGO_URL",
      "width": 600,
      "height": 60
    }
  },"author": {
    "@type": "Person",
    "name": ""
  }
}</script>
In above code, Change YOUR_WEBSITE_NAME With your website name and YOUR_LOGO_URL URL of your logo.
Save Your Template!

Now Your Turn

Structured data play a very important role in SEO. You should probably fix it.
Don't follow all those guides which only remove error word from your search console. try to fix your problem from the root.
I'll hope this guide will help you to fix all problem related to your Structured data. If you've any problem or suggestion then let me know in the comments :)
June 16, 2018 2018-06-16T14:09:57Z

No comments:

Post a Comment