Mobile app version of vmapp.org
Login or Join
Dunderdale272

: Rich Snippets error: missing required field "name (fn)" when "fn" is defined I'm getting these errors with Google Structured Data Testing Tool: Error: At least one field must be set for

@Dunderdale272

Posted in: #GoogleRichSnippetsTool #StructuredData

I'm getting these errors with Google Structured Data Testing Tool:


Error: At least one field must be set for Hcard.

Error: Missing required field "name (fn)".


but the fn field is set. Also vcard:

<span class="vcard author">
<a class="url fn n" href="http://www.nosabesnada.com/author/smiranda/" title="Posts by Sandra" rel="author">Sandra</a>
</span>


I've followed some tutorials and tried some combination, but nothing seems to work.

Any idea of what I am doing wrong?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Dunderdale272

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gonzalez347

Try the following:

<span class="vcard author">
<a rel="author" title="author profile" href="http://example.com/author/name/">
<span class="fn author">Author Name</span>
</a>
</span>


You need to add class="fn author" in the second span tag.

After you update the code go and test it out.

Your errors should go away gradually within a week or so.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme