Parsing error when using YASR
-
This is more some feedback or suggestion:
since quite a while, I have received errors in Google Search Console when using the plugin.
“Structured data with syntax errors detected
Invalid items are not eligible for Google Search’s rich results.”
and in details:
“Parsing error: missing ‘,’ or ‘}'”.On digging into this, I found that the schema.org snippet created by the plugin was messed up by some internal links I had used in image descriptions or in the blog post.
Since the ‘BlogPost’ type isn’t supported anyway anymore by Google (and WordPress is all about ‘BlogPosts’, isn’t it?), I think it’s time to add an option to avoid generating schema data snippets altogether. I have removed their generation from the code for now, to avoid the Search Console errors, but an option would be nicer and allow easier updating.
Just a suggestion.
- The topic ‘Parsing error when using YASR’ is closed to new replies.