打开图形错误和图像标签未正确渲染
我们有一个 WordPress 网站,它使用插件在我们的内容上放置开放图谱标签。使用 FB linter 时,我们收到以下错误:
响应代码:200
获取的 URL:facecrooks[dot]com/
规范 URL:facecrooks[dot]com/
必须修正的错误
身体元:你的头脑之外有元标签。这要么是因为您的头部畸形并且它们在解析树中的位置较低,要么是您不小心将开放图标签放在了错误的位置。无论哪种方式,您都需要在标签可用之前修复它。
我们无法在标头之外找到任何元标记。
此外,当我们将网站上的项目发布到 Facebook 页面时,会选择随机图像,而不是 OG 中定义的图像。通常选择的图片是右栏中的 125x125 广告。
您可以通过访问 http://facecrooks.com 验证开放图谱标签在网站上是否处于活动状态,然后查看源代码。
任何有关如何修复这些错误的想法将不胜感激!
We have a Wordpress site that uses a plugin to place Open Graph tags on our content. We receive the following error when using the FB linter:
Response Code: 200
Fetched URL: facecrooks[dot]com/
Canonical URL: facecrooks[dot]com/
Errors That Must Be Fixed
Body Meta: You have meta tags outside of your head. This is either because your head was malformed and they fell lower in the parse tree, or you accidentally put your Open Graph tags in the wrong place. Either way you need to fix it before the tags are usable.
We have not been able to locate any meta tags outside of the header.
Also, when we post an item from our website to our Facebook page a random image is selected instead of the one defined in the OG. Usually the image selected is a 125x125 ad from our right column.
You can verify that the Open Graph Tags are active on the site by visiting http://facecrooks.com and then view source.
Any idea on how to fix these errors would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许 facebook 的 linter 不喜欢 head 部分的 HTML div 标签......
Maybe facebook's linter doesn't like the HTML div tags in the head section...