最近發現有些網站有做 SEO,但都沒正常運行,所以就順手寫了一篇筆記,記錄如何驗證 SEO 功能面有辦法被 Google 爬蟲所收納。
目前的 Googlebot 使用者代理程式 行動版: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +https://www.google.com/bot.html) 電腦版: Mozilla/5.0 (compatible; Googlebot/2.1; +https://www.google.com/bot.html) 「或」 Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +https://www.google.com/bot.html) Safari/537.36
Workaround As @cs-cf said, the best thing to do is to disable the rules individually so you don’t lose all the other Cloudflare Specials benefits. Step-by-step Click the Firewall tab Click the Managed Rules sub-tab Scroll to Cloudflare Managed Ruleset section Click the Advanced link above the Help Change from Description to ID in the modal Search for 100035 and check carefully what to disable Change the Mode of the chosen rules to Disable Rules matching the search 100035 - Fake google bot, based on partial useragent match and ASN 100035B - Prevent fake bingbots from crawling 100035C - Fake google bot, based on exact useragent match and DNS lookup 100035D - Fake google bot, based on partial useragent match and DNS lookup 100035U - Prevent fake BaiduBots from crawling 100035Y - Prevent fake yandexbot from crawling A seventh rule related to fake bots was deployed during the incident: 100035_BETA - Fake google bot, based on partial useragent match and ASN