为什么Schema出现在某些网站的搜索结果中而不出现在其他网站上?

时间:2016-01-30 05:21:53

标签: web seo schema.org

我注意到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>

1 个答案:

答案 0 :(得分:0)

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 +微数据(link must be used而不是meta,但如果值是URI),则没有理由认为这不起作用(否则,为什么他们会这样记录吗?)。

相关问题