首页 文章

在Google搜索中显示最后一个Schema.org痕迹条目?

提问于
浏览
2

我正在尝试根据Schema.org标记我的面包屑,以便在Google结果中获得面包屑,如下所示:

主页>分类>当前页面

但是根据我目前的标记,它只显示:

主页>类别

我的标记中缺少什么(example page)?我正在使用WordPress的Navxt插件 .

<div class="breadcrumbs" typeof="BreadcrumbList" vocab="http://schema.org/">
    <!-- Breadcrumb NavXT 5.4.0 -->
<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Omdömen.se." href="http://www.xn--omdmen-yxa.se" class="home"><span property="name">Hem</span></a><meta property="position" content="1"></span> &raquo; <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Företag." href="http://www.xn--omdmen-yxa.se/foretag/" class="post post-page"><span property="name">Företag</span></a><meta property="position" content="2"></span> &raquo; <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Consector." href="http://www.xn--omdmen-yxa.se/foretag/consector/" class="post post-page current-item"><span property="name">Consector</span></a><meta property="position" content="3"></span></div>

您可以谷歌查看我在谷歌搜索中的面包屑: site:omdömen.se inurl:consector

2 回答

  • 1

    Google的文档说about breadcrumbs

    面包屑跟踪可能包含或省略其出现的页面的面包屑 .

    该文档不包含其搜索结果功能的屏幕截图,但我的猜测是Google搜索在两种情况下都以相同的方式显示它:没有当前页面的条目 .

    在搜索结果片段的痕迹路径中显示当前页面的链接没有多大意义,因为主链接(即搜索结果本身)已经链接到它 .

  • 0

    根据the comments in this question's answers,显然如果你没有在最后一个项目(当前页面)上放置 itemid ,现在将显示它 . :)

    Similarly,你可以删除第一项's (home page' s)itemid或url以防止像"www.example.com > Home > My page"这样的冗余显示 .

相关问题