大网数据广告活动
网站运营与故障问答

Google Search Console: Breadcrumbs > Missing field "position"

· 52CE 我爱测

I am working on an e-commerce website. I am getting the following error on Google Search Console: Breadcrumbs > Missing field "position" This is one of the URLs which has this error: https://my-domain.com/buy-and-sell/display/208…

问题原文

原帖链接 · Hooman Bahreini · CC BY-SA 4.0

I am working on an e-commerce website. I am getting the following error on Google Search Console:

Breadcrumbs > Missing field "position"

This is one of the URLs which has this error:

https://my-domain.com/buy-and-sell/display/2086

And this is how the page looks like:

And this is the actual breadcrumb code:

<ul class="nav-breakcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList">
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse" itemprop="item">
            <span itemprop="name">home</span>
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden" itemprop="item">
            <span itemprop="name">Home &amp; Garden</span>
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden/home-and-living" itemprop="item">
            <span itemprop="name">Home &amp; Living</span>
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden/home-and-living/kitchen" itemprop="item">
            <span itemprop="name">Kitchen</span>
        </a>
    </li>
</ul>

已采纳解答

原帖链接 · Hooman Bahreini · CC BY-SA 4.0

I followed the sample on schema.org/BreadcrumbList and noticed that I am missing the position meta tag:

<meta itemprop="position" content="1" />

I also found Google's breadcrumb testing tool for verification. The original breadcrumb was showing the following errors:

I added the position meta tag:

<ul class="nav-breakcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList">
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse" itemprop="item">
            <span itemprop="name">Home</span>
            <meta content="1" itemprop="position">
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden" itemprop="item">
            <span itemprop="name">Home &amp; Garden</span>
            <meta content="2" itemprop="position">
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden/home-and-living" itemprop="item">
            <span itemprop="name">Home &amp; Living</span>
            <meta content="3" itemprop="position">
        </a>
    </li>
    <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
        <a href="/home/browse/home-and-garden/home-and-living/kitchen" itemprop="item">
            <span itemprop="name">Kitchen</span>
            <meta content="4" itemprop="position">
        </a>
    </li>
</ul>

and tested it again:

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-11-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。