Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Steve M

    (@wpsmort)

    Please provide the URL for the page you tested and the exact details of the error message you got.

    Thread Starter Quan88

    (@quan88)

    Hi Steve,

    Page Type

    Plugin Support Steve M

    (@wpsmort)

    You have a lot of invalid markup on your site but because you have minification enabled, I cannot see where it is coming from. Please disable any minification and caching.

    Thread Starter Quan88

    (@quan88)

    OK. Currently disable minification and caching

    Thread Starter Quan88

    (@quan88)

    The mark up issue for all pages and post except the homepage is the “<meta itemprop=”image” content=” before the closing of <!– /all in one seo pack –>

    Your help and guidance are appreciated

    Plugin Support Steve M

    (@wpsmort)

    Our markup is correct and matches what you get if you use teh Google Structured Data Markup Helper Tool – https://www.google.com/webmasters/markup-helper/u/0/

    However, it looks like Google now wants more markup in the body of a webpage or article. We don’t inject markup into the body of a page, we only hook into the HEAD. You’d therefore need to add this new markup in your theme templates.

    Thread Starter Quan88

    (@quan88)

    Hi Steve,

    Thanks for the clarification.

    Will it affect SEO if no changes is made?

    What code do I need to add to the theme templates?

    Thanks in advance.

    Plugin Support Steve M

    (@wpsmort)

    For articles, Google now wants all of the properties marked as Required here – https://developers.google.com/structured-data/rich-snippets/articles

    If you look at the Microdata code example you’ll see the HTML markup that would have to go into the body of your post (the content area). They do have some alternate JSON-LD markup that we can use and place in the head of the site, which is where All in One SEO Pack hooks into, but we have reviewed and tested that alternate markup and it does not include all of the required properties that they now want so their testing tool still returns errors.

    Not having Schema.org markup won’t affect SEO. It’s impossible to say whether having incomplete markup will affect SEO. This is so new that Google has only just updated their documentation and testing tool, they still haven’t updated their markup helper tool.

    We’re going to be testing different options and will look to have support for this soon.

    Thread Starter Quan88

    (@quan88)

    Thanks and wishes you all the best.

    Hey Mark & Quan88,

    Got success for featured image markup ? i am still struggling. Any help appreciated. Below is my markup structure for wordpress posts.

    ERROR : The attribute itemtype has an invalid value.(For Featured Image as detailed below)

    <html itemscope itemtype=”https://schema.org/Blog&#8221; …


    <body>
    <div itemscope=”itemscope” itemtype=”https://schema.org/BlogPosting&#8221; itemprop=”blogPosts”>

    <img src=”http:……jpg” itemtype=”https://schema.org/ImageObject&#8221; itemprop=”image” …/>

    <div itemprop=”articleBody” class=”article-content clearfix”>

    etc etc

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘JSON-LD Error’ is closed to new replies.