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

时间:2016-03-20 22:00:24

标签: google-search schema.org breadcrumbs serp

我试图根据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 个答案:

答案 0 :(得分:1)

Google的文档说about breadcrumbs

  

痕迹痕迹可能包含或省略其出现的页面的面包屑。

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

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

答案 1 :(得分:0)

根据the comments in this question's answers,显然,如果您没有在您的最后一项(当前页面)上放置df['check'] = np.where(df['vin'].str.len().eq(17), df['vin'], 'nogo') print(df) vin manufacturer check 0 LHJLC79U58B001633 A LHJLC79U58B001633 1 SZC84294845693987 A SZC84294845693987 2 LFGTCKPA665700387 A LFGTCKPA665700387 3 L8YTCKPV49Y010001 A L8YTCKPV49Y010001 4 LJ4TCBPV27Y010217 B LJ4TCBPV27Y010217 5 LFGTCKPM481006270 B LFGTCKPM481006270 6 LFGTCKPM581004253 B LFGTCKPM581004253 7 LTBPN8J00DC003107 B LTBPN8J00DC003107 8 1A9LPEER3FC596536 B 1A9LPEER3FC596536 9 1A9LREAR5FC596814 C 1A9LREAR5FC596814 10 1A9LKEER2GC596611 C 1A9LKEER2GC596611 11 1A9L0EAH9C596099 D nogo 12 22A000018 D nogo ,则现在将显示该项目。 :)

Similarly,您可以删除第一项(主页)的itemid或url,以防止显示多余的显示,例如“ www.example.com>主页>我的页面”。