【发布时间】:2019-06-25 08:54:44
【问题描述】:
我只想阻止 Google 抓取我网站上的特定页面,但我仍然希望其他搜索引擎(首先是百度)抓取它。
我不知道这是否可能。
【问题讨论】:
我只想阻止 Google 抓取我网站上的特定页面,但我仍然希望其他搜索引擎(首先是百度)抓取它。
我不知道这是否可能。
【问题讨论】:
您需要创建一个 robots.txt 文件来阻止 google 的 userAgent
//在 robots.txt 中
User-agent: Googlebot
Disallow: /
User-agent: *
Allow: /
在此处阅读有关 robots.txt 的更多信息:https://support.google.com/webmasters/answer/6062596?hl=en
【讨论】: