• Resolved mihaela.g

    (@mihaelag)


    Hey,

    I have the latest version of Yoast and I’m trying to add JSON-LD schema to a blog post. However, I see that Yoast is doing this already, by default. It generates structured data for type “Article”.
    Unfortunately, the Yoast generated structured data DOES NOT PASS the test with Google’s Structured Data Testing Tool. Google is the main reason we want to add structured data to our website, right ? The Yoast data misses two important properties which Google specifies as mandatory. I see there is no way to edit the data generated by Yoast, nor to disable this feature.
    I contacted Yoast support and asked if they have plans to fix this error. They told me they cannot provide any kind of help or answers to any questions unless I become a premium user and get a subscription for the paid Yoast. Maybe we can help each other here then.

    Did you encounter the same problem ? Did you find a workaround for the incomplete Yoast generated JSON-LD ? My temporary solution was to generate a complete JSON-LD data for an article and add it to the page as if I had a second article there. So now I have two sets of data, Yoast’s incomplete data and my correct JSON-LD. I don’t know if this is worse than having just Yoast’s incomplete script in there though.

    PS Here is a link where you can see the errors in the code generated by Yoast:
    Google Structured Data Testing Tool

    Thank you

    • This topic was modified 6 years, 3 months ago by mihaela.g.
    • This topic was modified 6 years, 3 months ago by mihaela.g.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    We can see in the source code for: https://spacesparkle.ro/design-interior-cum-functioneaza/ that there is a specific line of code which Google’s Structured Data tool is highlighting:

    <html lang="ro-RO" prefix="og: https://ogp.me/ns#" itemscope itemtype="https://schema.org/Article">

    As Google is looking for author and publisher for that specific itemstype, it cannot find it, so it outputs the errors. See image: https://pasteboard.co/HzaWgDo.png

    We do not think this is related to Yoast. We say that as Yoast does not output that specific line of code. You can see the code Yoast is outputting in this image: https://pasteboard.co/HzaWGJJ.png. That code is not highlighted by Google, so we think these errors are coming from somewhere else such as another plugin or theme.

    To test this, if you were to deactivate Yoast SEO (doing so will not hurt the SEO of your site) and clear all your caches and then run it through the Structured Data Tool does the same error get thrown out? If so, then we suggest first speaking to your theme developer for more information.

    Plugin Support Michael Ti?a

    (@mikes41720)

    No further response, setting to resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yoast generated JSON-LD for article has errors’ is closed to new replies.