【问题标题】:why is Schema is appearing in search results for some site but not others?为什么 Schema 出现在某些站点的搜索结果中而不是其他站点的搜索结果中?
【发布时间】:2016-01-30 05:21:53
【问题描述】:

我注意到搜索引擎使用 schema.org 来索引有关您网站的信息并让用户更容易找到那里正在寻找的内容,它只适用于选择性网站。

我不明白的是,为什么搜索栏会出现在 livingsocial 和 Groupon 的搜索结果中,而不是 Experience 的搜索结果中。现在这些都是基于相同的网站类型。

现在我将代码作为 json 输入以使搜索栏出现的方式将是

但这也不起作用我的网站搜索仍然没有出现在谷歌的搜索结果中。有人可以告诉我我做错了还是更好的方法。 ?

<div itemscope itemtype="http://schema.org/WebSite">
  <meta itemprop="url" content="https://www.example.com/"/>
  <form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
    <meta itemprop="target" content="https://query.example.com/search?q={search_term_string}"/>
    <input itemprop="query-input" type="text" name="search_term_string" required/>
    <input type="submit"/>
  </form>
</div>

【问题讨论】:

标签: web seo schema.org


【解决方案1】:

Google 搜索并不能保证仅仅因为您使用了适当的 Schema.org 标记就可以增强您网页的 SERP 条目(另请参阅他们的 quality guidelines)。如果它被显示可能取决于各种因素(搜索关键字、用户历史、位置等),假设它是正确的。

来自他们的Sitelinks Search Box documentation

搜索框未显示? 附加链接搜索框仅在导航查询和与用户相关时出现。 Google 算法使用多种因素来确定搜索框何时出现,包括网站上的信息和来自搜索用户的不同类型的导航查询。

例如,http://www.roovet.com/local/ 可能无法显示的一个原因(我没有查看此站点,也没有检查它是否真的从未显示)可能是 Google 没有将其解释为网站。来自guidelines

将标记放在您网站的主页上。


您的示例是从Google’s Microdata example for the Sitelinks Search Box 复制而来的。虽然这不是正确的 HTML5+Microdata(linkmust be used 而不是 meta,如果值是 URI),没有理由假设这不应该工作(否则,他们为什么要这样记录它?)。

【讨论】:

  • 有道理,我确实将其更改为正确的 json 但感谢您的帮助
猜你喜欢
  • 2014-02-09
  • 2012-02-03
  • 2011-02-24
  • 2020-12-26
  • 2017-08-15
  • 2012-03-30
  • 2016-02-06
  • 1970-01-01
  • 2016-09-16
相关资源
最近更新 更多