Using your htaccess to block IP addresses is NOT the way to go. This will not only help to slow your website down, but you may in fact start to see errors in your cPanel error log. It's best to do it on a PHP scale and not the htaccess method.On the PHP front there is an extension here that can block whole countries. I have no need for this extension since I use CIDRAM and CloudFlare, so I don't know how good it is and if it will be maintained for the foreseeable future. With something like CIDRAM and CloudFlare, those WILL be maintained for the foreseeable future. At least CloudFlare will unless something happens beyond all reason and CloudFlare folds. Or Caleb, the script author of CIDRAM and friend of mine gets hit by a bus one day. Though, there are other people who can maintain CIDRAM and places that CIDRAM is hosted from as a contingency that Caleb thought of well in advance.
At any rate. I have only had to report a grand total of four, just four spammers in the five years I had a forum to the Stop Forum Spam database which is where I report any and all spam, and at that, those spam posts never saw the light of day due to moderation queue. I do in fact run a very, VERY tight ship. Both with my websites and computers at home. And I'm here to say a little paranoia never hurt anyone unless it's someone who likes to be a nag and ridicule you for being a little paranoid.
Due note that if you use CIDRAM it can be used via the hook method in htaccess and in WordPress there's the CIDRAM plug-in which would be a lot easier to deploy.
Heed my advice. I'm not stupid. Well, maybe some.
bubbathegimp wrote: ↑
Mon Mar 09, 2020 8:00 pm
If you don't speak Chinese, and don't mind anybody from China not being able to register....
I block most of all Asia and the middle east since I have no use for them at all. That includes spam haven Pakistan.