• Resolved andersnielsen1

    (@andersnielsen1)


    – name
    – description
    – thumbnailurl
    – uploaddate

    Fails validation in google search console.

    I have tried to disable the the microdata, but the warning still turns up.

    I can see other people is having issues with the schema data too, but can’t see the solution.

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can’t comment if you don’t provide your site’s URL @andersnielsen1 πŸ™‚

    Thread Starter andersnielsen1

    (@andersnielsen1)

    done – sorry

    Currently are have disabled the microdata, validation seems to be fine.. But after 20 min. (reindex) I get a warning from google saying the validation fails

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I still see microdata, but it’s not LYTE’s. Are you using anything else to do that?

    Thread Starter andersnielsen1

    (@andersnielsen1)

    I have inserted video object json in the head (they are testet and validated)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, in that case there’s not a lot I can do, but do ping me if the errors re-appear (which would be surprising if microdata is off) πŸ™‚

    Thread Starter andersnielsen1

    (@andersnielsen1)

    according to search console:

    Your plugin sets the code:

    <div class="lyMe hidef" id="WYL_AIRaITHfHBQ" itemprop="video" itemscope="" itemtype="https://schema.org/VideoObject"><!--@ inlined-iframe

    which is missing

    – name
    – description
    – thumbnailurl
    – uploaddate

    To validate correct.

    Thats why it fails the schema validate

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that implies you don’t have a (working) YT API key?

    Thread Starter andersnielsen1

    (@andersnielsen1)

    Just removed the api to test…

    if thats correct, the plugin would be better to never insert any microdata/itemprop – if some attributes are blank..

    Then it “hurts” more that it benefits SEO πŸ™‚

    I will test again using the API key

    Thread Starter andersnielsen1

    (@andersnielsen1)

    Does the plugin cache the metadata from the Youtube API?

    If not: I think when google crawls the page, the data is not served (activated) from the API, which makes the bot see incorrect metadata, and the page fails the validation when google sees the page.. But when a user is testing from a browser, everything is working correct!

    Could that be happening?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    all data retrieved from Youtube is cached in postmeta, so no that is not what’s going on there no.

    Thread Starter andersnielsen1

    (@andersnielsen1)

    Hmm, and I guess you have testet it too? (that it works 100%) πŸ™‚

    I think it might be the case, after I have done some testing the last couple of hours

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, just added an explicit test for an API key to be present, if not no microdata will be injected. if you want you can download the version from Github here and take it out for a spin.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    and I guess you have testet it too? (that it works 100%)

    the caching you mean; yeah, pretty confident πŸ™‚

    Thread Starter andersnielsen1

    (@andersnielsen1)

    Testing the plugin, without the api key…

    Thread Starter andersnielsen1

    (@andersnielsen1)

    installed the “new” version, and removed the API key.

    Now everything validates ok after the pages are indexed, after same test method as before…

    ( my youtube key is valid, in the other test )

    This versions works ( not showing the microdata )

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘4 Schema Warnings using lyte’ is closed to new replies.