-
Hello, friends.
The Yandex validator shows following error:
og
ERROR: field http://ogp.me/ns#image is missing or emptyPlease tell me the solution. Thanks.
-
Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
Can you please share the affected URLs with us? So that we can investigate the issue further for you.
Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I’m not sure if I understood correctly. Here is the screenshot.
https://drive.google.com/file/d/1MmWbISc9MA2oMFS1N1gvU0jsoVFCDeq-/view?usp=share_linkHello,
This seems to be an issue with the microdata of the page. Please note that our schema is not generated via microdata but via JSON+ld.
This issue may have caused by other plugin or your currently active theme that is generating that.
Looking forward to helping you with this one.
The theme and plugins have nothing to do with it. These are the requirements of the Yandex. There are other similar errors, see below for examples of solving problems in functions.php (you need something similar)
# RankMath
// Remove search markup (Filter to enable/disable SearchAction JSON-LD data)
add_filter( ‘rank_math/json_ld/disable_search’, ‘__return_true’ );
// Fix markup error (Open Graph – fix article prefix)
function artabr_opengraph_fix_yandex($lang) { $lang_prefix = ‘prefix=”og: http://ogp.me/ns# article: http://ogp.me/ns/article# profile: http://ogp.me/ ns/profile# fb: http://ogp.me/ns/fb#”‘; $lang_fix = preg_replace(‘!prefix=”(.*?)”!si’, $lang_prefix, $lang); return $lang_fix; } add_filter( ‘language_attributes’, ‘artabr_opengraph_fix_yandex’,20,1);Hello,
The
og:imageis currently missing from your website which may have caused the issue in the validator.Please ensure that the image file format you are uploading is only between jpeg, gif, or png as per OpenGraph Standards.
https://developers.facebook.com/docs/sharing/webmasters/#imagesAlso, make sure that your images are using the recommended image size. Recommended image size is as close as 1200 x 630 pixels.
Please set the image of the supported format and dimensions to fix the issue.You can also set a social image without changing the featured image and that would be used as the og:image. Please refer to this guide for more details: https://rankmath.com/kb/meta-box-social-tab/
Here is the article to help you with this: https://rankmath.com/kb/open-graph-image-not-displaying/
If the issue persists, do let us know. We are here to help.
Looking forward to helping you.
The reason for the error is invalid *.svg format. Thanks for the help!
Hello,
We’re glad that this resolved your issue.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.
You must be logged in to reply to this ticket.