og:image is using wrong meta markup
-
Similar to this issue, Yoast 15.7 is outputting this in my
<head>element for the “og:image” meta data:
<meta property="og:image" content="https://example.com/path/to/image.jpg" />However, Facebook’s debugger tool is complaining that it needs to have a name property, specifically displaying this error:
Tag specified as ‘name’ instead of ‘property’
The following meta tags are specified using ‘name’ instead of ‘property’ and will be ignored unless specified using the ‘property’ key: og:imageSo I’m wondering if a meta tag like this can be added (or instead of, whichever is best practice):
<meta name="og:image" content="https://example.com/path/to/image.jpg" />Thanks!
The topic ‘og:image is using wrong meta markup’ is closed to new replies.