使用附加链接搜索栏Google [英] Using sitelinks search bar google
问题描述
我正在按照 Google的指南添加网站链接搜索栏在我的网站上.结构化数据标记工具显示了所有正确的内容.但是:
I am following this guide by Google to add a sitelinks search bar on my website. The structured data markup tool shows everything to be correct. But:
- 搜索栏没有出现在我网站的搜索结果中.
-
Google已将页面
www.example.com/search?q=%7Bsearch_term_string%7D
编入索引:
除了站点URL,我的代码与示例中的代码完全相同.我究竟做错了什么?还是这是预期的行为?
I have the exact same code as explained in the example, except the site URL of course. What am I doing wrong? Or is this expected behaviour?
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://www.example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "http://www.example.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
推荐答案
您似乎搜索不正确,而是搜索 example 或 example.com :
It looks like you are searching incorrectly, search for either example or example.com instead:
根据此,在Google将其显示之前,需要进行大量搜索-莫兹. com指出:
According to this a large number of searches are needed before google will display it - moz.com states that:
您的网站是否获得大量的导航或品牌搜索流量?
例如,关键字词组(例如"moz"和"moz.com")每周向该网站发送数千次访问.品牌和导航搜索量是显示站点链接搜索框的可能性的好指标,但并不完美.
Does your site receive a high volume of navigational or branded search traffic?
For example, keyword phrases such as 'moz' and 'moz.com' send this website thousands of visits per week. Branded and navigational search volume is a good, but not perfect, indicator of the likeliness of the sitelinks search box to appear.
这篇关于使用附加链接搜索栏Google的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!