MyBB Community Forums

Full Version: How to block baidu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i want to block Baidu spider from crawling mybb
how can i do that?

Thanks
Use robots.txt to block specific Useragent: http://www.seosandwitch.com/2012/06/robotstxt.html
i have found this to put in .htaccess:
BrowserMatchNoCase Baiduspider bad_bot
Deny from env=bad_bot

is that ok?
Hi
Funny thing, I`ve encountered this same question just recently on several forums.

From what I`ve read, Baidubot will ignore robots.txt, so, to overcome this, most people set up an IP based deny rule, using .htaccess - you can learn more here:
http://forums.oscommerce.com/topic/38292...stop-them/

Also, you can find out user-agent info and IP check tool in here: http://www.Botopedia.org