StateDOG Posted January 8, 2013 Report Share Posted January 8, 2013 One of my sites is getting hammered by visits from China. But we have nothing to offer anyone in China. It's chewing up my bandwidth like crazy. Actually the site itself hasn't been updated in a while. Is there a nice solution to this issue where I could block these visits saving lots of bandwidth? Thanks! yfewtjdfopaw 1 Quote Link to comment Share on other sites More sharing options...
Fowler Posted January 8, 2013 Report Share Posted January 8, 2013 You could block them via .htaccess - http://www.wizcrafts.net/chinese-blocklist.htmlIf it is a php site you want to block them from then I may have another solution aswell which I can give you if you need it. Quote Link to comment Share on other sites More sharing options...
StateDOG Posted January 8, 2013 Author Report Share Posted January 8, 2013 Yes, it's a message board using IPB. So if the php option is better I could use it. Thanks. Quote Link to comment Share on other sites More sharing options...
Fowler Posted January 8, 2013 Report Share Posted January 8, 2013 I have sent you a PM a few hours ago with details of a method I use on a php based site to stop malicious people/bots sucking up bandwidth. Quote Link to comment Share on other sites More sharing options...
Cody R. Posted January 8, 2013 Report Share Posted January 8, 2013 Yes, it's a message board using IPB. So if the php option is better I could use it. Thanks. I'm not sure if IPB has this built-in however you can utilize GEOIP stuff for that. Here is a little thread on the IPB forums which should work as you want (although you'll need to ensure you have the proper GEOIP database downloaded / working). There are a few methods in that thread including a .htaccess one and several PHP snippets you can toss in your index.php file. http://community.invisionpower.com/topic/337167-geoip/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.