How to make google use schema JSON instead of HTML inline attributes
-
When letting google check the page in https://search.google.com/test/rich-results it shows some warnings, e.g. field author url cannot be found.
Clicking on the warning it shows that google is getting it’s schema.org data not from the schema JSON included in the HTML header
<script type="application/ld+json" class="yoast-schema-graph"> {"@context":"https://schema.org","@graph": .... </script>
but from the HTML inline props in the HTML body, e.g.
itemprop="name"
:<span class="author vcard" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><span itemprop="name"> ... </span>
This is unfortunate as the JSON looks quite complete to me whereas the HTML inline attributes aren’t complete at all.
How can I achieve that Google uses the JSON provided by Yoast as a source instead of the inline attributes?
- This topic was modified 9 months, 3 weeks ago by .
- This topic was modified 9 months, 3 weeks ago by .
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to make google use schema JSON instead of HTML inline attributes’ is closed to new replies.