php - Prevent Unknown robot from crawling my website and save bandwidth -


i have drupal operated small website. not commercial, ie: no income it. site in shared host, has limited bandwidth , resource. site encounters "bandwidth exceed" problem every month because more 60% of bandwidth being used bots , spiders. maximum gone to:

unknown robot (identified 'bot' followed space or 1 of following characters _+:,.;/-)

out of 10gb bandwidth, 1 gb goes googlebot (it's ok)

6 gb goes unknown robot (identified 'bot' followed space or 1 of following characters _+:,.;/-).

500mb goes unknown bots identified robot

other 500 mb goes bots identified spider, crawl, empty user-agent etc.

so remains? less 2gb visitors.

how identify or block bad bots? please suggest me way prevent it.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -