Wednesday, February 4, 2015




How To Fix Google Webmaster Tools Structured Data Hatom Missing: Author Errors of a Blogger/Blogspot Blog?


When you add a Blogger/ Blogspot site in the Google Webmaster Tools It may show a lot of errors in Search Appearance - Structured Data. If your errors are because of hatom (markup: microformats.org) Missing: Author then you can fix them by following the steps bellow:

1. Log in to Blogger.

2. Select your Blog.

3. Go to Template.

4. Click on Edit HTML.

5. Inside the code box press Ctrl+F.

6. Search for
span class='post-author vcard'
.


7. You'll Find:
 
                <b:if cond="data:top.showAuthor"> 
                  <b:if cond="data:post.authorProfileUrl"> 
                    <span class="fn"> 
                      <a expr:href="data:post.authorProfileUrl" href="https://www.blogger.com/null" rel="author" title="author profile"> 
                        <data:post author=""> 
                      </data:post></a> 
                    </span> 
                  <b:else> 
                    <span class="fn"><data:post author=""></data:post></span> 
                  </b:else></b:if> 
                </b:if> 
              

8. Replace the codes with the following codes:
<span class="post-author vcard" itemscope="itemscope" itemtype="http://schema.org/Person"> 
                <b:if cond="data:top.showAuthor"> 
                  <b:if cond="data:post.authorProfileUrl"> 
                    <span class="fn author"> 
                      <a expr:href="data:post.authorProfileUrl" href="https://www.blogger.com/null" rel="author" title="author profile"> 
                        <span itemprop="name"><data:post author=""></data:post></span> 
                      </a> 
                    </span> 
                  <b:else> 
                    <span class="fn author"><span itemprop="name"><data:post author=""></data:post></span></span> 
                  </b:else></b:if> 
                </b:if> 
              </span>

9. If you can't find the span section then paste the above codes in a section where you want the author name to appear.

10. Click Save Template.

11. Click on a error from Webmaster Tools.

12. From the dialog box click Test Live Data.

13. Done.


0 comments:

Post a Comment