SMF Support > SMF 2.0.x Support
Blocking Baidu
movierchives:
I've tried blocking Baidu but its but its being the bot from hell. I need it blocking because its constantly got between 11 and 20 bots on my site at once, they never leave.
I've tried blocking its IP range
--- Code: ---Deny from 188.143.128.0-188.143.255.255
--- End code ---
I've added the robot text
--- Code: ---#Baiduspider
User-agent: Baiduspider
Disallow: /
--- End code ---
Hell I've got China blocked on Cloudflare but does that stop these ruddy bots, hell no :-\
MrPhil:
I don't think this is the right syntax:
--- Code: ---Deny from 188.143.128.0-188.143.255.255
--- End code ---
Try
--- Code: ---Deny from 188.143.
--- End code ---
if you don't mind blocking 1-127 in the third octet. There might be a way to block a range of octets (perhaps
--- Code: ---Deny from 188.143.128-255.
--- End code ---
) might work. I'm sure you can google some resources on how to use .htaccess to deny IP ranges.
movierchives:
Thanks, the varous websites I've seen say that's the way to block a range
I have tried blocking ranges by doing 37.*.*.* but this hasn't worked either, Russian spammers
busterone:
in .htaccess try -
Deny from 188.143
Deny from 37
no dot at the end of the ip range
movierchives:
I've just done it directly in the cpanel ip blocker and their still there :-\
Navigation
[0] Message Index
[#] Next page
Go to full version