1
isnowify 2016-03-31 18:29:25 +08:00 via iPhone
google,baidu shitu 都会这样搞
|
2
badcode OP @isnowify
个人小站,不要搜索收录的,不要流量的,不搞 seo 已经屏蔽 UA 各种 bot,spider ,除非模拟 UA if ($http_user_agent ~ "WinHttp|WebZIP|FetchURL|node-superagent|java|Jullo|Apache-HttpAsyncClient|UniversalFeedParser|BOT/0.1|YandexBot|FlightDeckReports|Linguee Bot|HaosouSpider|AhrefsBot|MQQBrowser|Mobile Safari|bingbot|Digincore bot|Python-urllib|python-requests|CPython|micromessenger|YandexBot|meanpathbot|360Spider|YisouSpider|qihoobot|Baiduspider|UptimeRobot|Twitterbot|Googlebot|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|Adsbot-Google|Feedfetcher-Google|Yahoo! Slurp|Yahoo! Slurp China|YoudaoBot|linkdexbot|Sosospider|Sogou spider|Sogou web spider|MSNBot|ia_archiver|MSIE 6.0|Tomato Bot|FeedDemon|JikeSpider|Indy Library|Alexa Toolbar|AskTbFXTV|CrawlDaddy|CoolpadWebkit|Java|Feedly|UniversalFeedParser|ApacheBench|Microsoft URL Control|Swiftbot|ZmEu|oBot|jaunty|Python-urllib|lightDeckReports Bot|YYSpider|DigExt|HttpClient|MJ12bot|heritrix|EasouSpider|Ezooms|^$" ) 只能屏蔽 IP 段吗? 目前只做 robots,UA 来屏蔽 看日志,遵守规则的都给 return 403;了 或者说大家有没有更好的方法,就是不要搜索收录的 感谢 |
6
yeyeye 2016-04-01 01:08:12 +08:00
|
7
techyan 2016-04-01 08:32:01 +08:00 via iPhone
用 CloudXNS 之类的 DNS ,在解析的时候配置搜索引擎蜘蛛都解析到 127.0.0.1 。
|
8
badcode OP |