Problem with banning IPs
-
Hello,
I have been using your Plugin for a while now and this function used to work good.
However, I think since the last Update of WordPress I`ve been getting this error “<strong>You cannot ban yourself. Please try again.</strong>” every time I try to ban an IP no matter which IP I insert.
Things I`ve tried so far to resolve the issiue
- Disabled All Plugins
- Changed Theme (Using Genesis)
- Changed file permissions for .htaccess
Also, If I want to ban an IP manually, what do I have to do?
Can I just add these three lines in the .htaccess file with the correct IP?
SetEnvIF REMOTE_ADDR “^151\.231\.25\.29$” DenyAccess
SetEnvIF X-FORWARDED-FOR “^151\.231\.25\.29$” DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP “^151\.231\.25\.29$” DenyAccessCould you also explain how these lines work and specifically why the same IP is included three times or at least point me to a source where i can read the reason?
Thanks,
Dani
The topic ‘Problem with banning IPs’ is closed to new replies.