【问题标题】:Bingbot ignoring robots.txt and attempting to retrieve a trafficbasedsspsitemap.xml [closed]Bingbot 忽略 robots.txt 并尝试检索基于流量的 sspsitemap.xml [关闭]
【发布时间】:2013-03-25 15:09:46
【问题描述】:

我有一个应用,其内容不应被公开索引。因此,我禁止访问所有爬虫。

robots.txt:

# Robots shouldn't index a private app.
User-agent: *
Disallow: / 

但是,Bing 一直忽略这一点,并且每天请求一个 /trafficbasedsspsitemap.xml 文件,我不需要创建该文件。

我也不需要每天收到此文件的 404 错误通知。我只想让 bingbot 消失,那么我需要做什么才能禁止它发出请求?

【问题讨论】:

    标签: bing robots.txt bingbot


    【解决方案1】:

    对于那些来自谷歌的人-

    您可以通过 apache 用户代理检测/重写指令阻止机器人,这样您就可以完全阻止 bingbot。 https://superuser.com/questions/330671/wildcard-blocking-of-bots-in-apache

    Block all bots/crawlers/spiders for a special directory with htaccess

    等等

    【讨论】:

      【解决方案2】:

      根据this answer,这是 Bingbot 检查由 IIS 和 Apache 的 Bing Sitemap 插件生成的 XML 站点地图。它显然无法被 robots.txt 阻止。

      【讨论】:

        猜你喜欢
        • 2010-09-25
        • 2014-11-04
        • 1970-01-01
        • 2013-10-15
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-04-17
        相关资源
        最近更新 更多