schema.org 面包屑导航不起作用

标签 schema.org

我想在我的网站上有一个面包屑导航,它也在谷歌搜索结果中显示为面包屑导航。

这没问题,只需使用微数据,如下所示:
https://support.google.com/webmasters/answer/185417?hl=en

并检查它是否适用于:
http://www.google.com/webmasters/tools/richsnippets

所以现在一切正常,但现在我注意到谷歌微数据示例中使用的 data-vocabulary.org 已经过时,schema.org 是新标准。

问题来了,这个 schema.org 不起作用。

我用了 this answer
谷歌网站管理员工具 Richsnippets 和 linter.structured-data.org。谷歌 Richsnippets 不理解它,Linter 打印:

Errors

ArgumentError: invalid byte sequence in US-ASCII

Structured data

The data did not match any templates on file. Submit a request to the mailing list to request support for additional templates.

No formats detected.
Parser statistics
RDF::Microdata::Reader: 8 statements
Matched Templates:  none

所以整个 schema.org 非常困惑,似乎不起作用。

有人我做错了什么?

最佳答案

现在你不应该使用 Schema.org 来做面包屑。尽管 data-vocabulary.org 对于其他类型已经过时,但请继续使用。这里已经有几次类似的讨论。查询 this link来自 Google 的 John Mueller 表示,面包屑丰富的片段不支持 schema.org。

at the moment we don't support the current schema.org breadcrumb markup for rich snippets, so you'd need to use one of the other documented formats. w3.org/2011/webschema/track/issues/10 also has some details about the difference. – John Mueller Jan 30 at 14:59

关于schema.org 面包屑导航不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17773507/

相关文章:

schema.org - 微观数据(schema.org)中的自定义字段是否会使整个微观数据出错?

html-email - 电子邮件中的 Schema.org 标记

schema.org - Schema.org、Goodrelations-vocabulary.org 和 Productontology.org 之间有什么关系?

seo - Schema.org 微格式未包含在搜索结果中

url 与 sameAs (schema.org)

html - 我可以在项目包装器级别而不是项目标签指定 Schema.org 属性吗?

gmail - 什么是有效日期时间/解析器是否损坏?

html - 电话号码上未拾取结构化数据

html - 如何将 itemscope 拆分为多个 HTML 元素?

小公司的 Schema.org 实践 : 'Organization' and 'WebSite' in JSON-LD on every page, 其他一切的微数据