如何修复Google丢失的“ id”错误?缺失数据

时间:2019-09-21 08:14:47

标签: breadcrumbs structured-data

我在我的网站上使用结构化数据,包括面包屑。我收到了来自Google Webmadter工具的多封警告电子邮件,指出发现了以下错误:

缺少提起的“ id”

缺少提起的“职位”

在查看结构化数据时,两个标签都存在。有没有人遇到这些错误?如果是,您的解决方案是什么?

1 个答案:

答案 0 :(得分:0)

对结构化数据进行的初步目视检查表明所有标记都是正确的。

然后,我使用Google的结构化数据测试工具https://search.google.com/structured-data/testing-tool再次检查了该错误标记。

由于旧的标记代码而产生错误。结构化数据需要更新。具体来说,请注意以下错误:

将“属性”标签更改为“ itemprop” 这为我解决了错误:https://us.icalculator.info/salary-comparison-calculator/south-dakota.html

我想我会分享,因为我知道许多人会醒来那些通知,并且像我一样感到恐慌。我实际上注意到与此相关的流量下降,因此可能有SEO组件建议有必要进行快速修复,希望对您有所帮助。

有关信息,我使用微数据:

<ol itemscope itemtype="http://schema.org/BreadcrumbList">
  <li itemprop="itemListElement" itemscope
      itemtype="http://schema.org/ListItem">
     <a itemprop="item" href="https://example.com/dresses">
    <span itemprop="name">Dresses</span></a>
    <meta itemprop="position" content="1" />
  </li>
  <li itemprop="itemListElement" itemscope
      itemtype="http://schema.org/ListItem">
    <a itemprop="item" href="https://example.com/dresses/real">
    <span itemprop="name">Real Dresses</span></a>
    <meta itemprop="position" content="2" />
 </li>
</ol>

在此处查看结构:https://schema.org/BreadcrumbList

我并没有声称自己是结构化数据方面的专家,实际上,我认为这应该真正由搜索引擎来自动化,这只是减慢站点速度的另一层代码。无论如何,我提出一个问题,以便那些有更多知识等的人可以根据需要扩展信息。我已按照建议将其分为一个单独的问题和答案。