结构化数据的面包屑无法正常显示

时间:2015-12-09 18:17:51

标签: breadcrumbs

我查看了很多文档,但我无法弄清楚结构化数据是否应放在所有页面上?例如,我在我的主页上有这个代码:

<ol vocab="http://schema.org/" typeof="BreadcrumbList">
  <li property="itemListElement" typeof="ListItem">
    <a href=".." property="item" typeof="WebPage">Home</a>
    <span property="position" content="1"></span>
    <span property="name" content="Home"></span>
  </li>

  <li property="itemListElement" typeof="ListItem">
    <a href="../p/about" property="item" typeof="WebPage">About</a>
    <span property="position" content="2"></span>
    <span property="name" content="About"></span>
  </li>
  <li property="itemListElement" typeof="ListItem">
    <a href="../p/services" property="item" typeof="WebPage">Services</a>
    <span property="position" content="2"></span>
    <span property="name" content="Services"></span>
  </li>
  <li property="itemListElement" typeof="ListItem">
    <a href="../p/contact" property="item" typeof="WebPage">Contact</a>
    <span property="position" content="2"></span>
    <span property="name" content="Contact"></span>
  </li>
</ol>

虽然谷歌现在显示所有这样的面包屑:

Google search result

我的相对网址存在问题吗?我不应该包含用户不在的其他页面的元数据吗?

0 个答案:

没有答案