• 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

    1. Disabled All Plugins
    2. Changed Theme (Using Genesis)
    3. 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$” DenyAccess

    Could 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

    http://wordpress.org/plugins/better-wp-security/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with banning IPs’ is closed to new replies.