Can’t comment if you don’t provide your site’s URL @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
I still see microdata, but it’s not LYTE’s. Are you using anything else to do that?
I have inserted video object json in the head (they are testet and validated)
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) π
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
that implies you don’t have a (working) YT API key?
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
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?
all data retrieved from Youtube is cached in postmeta, so no that is not what’s going on there no.
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
and I guess you have testet it too? (that it works 100%)
the caching you mean; yeah, pretty confident π
Testing the plugin, without the api key…
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 )