【发布时间】: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>
【问题讨论】:
-
我投票结束这个问题,因为它属于the site for Professional Wemasters
标签: web seo schema.org