• Resolved benny54

    (@benny54)


    Hi, I did configure the plugin (version 6.4.1) with the rule Allow login only for allowed countries and i selected my own country Netherlands to allow access. I’m running WP 6.4.1 and PHP8.1
    I now get e-mails from my Security plugin (AIOS) stating that someone with an ip from GB did too many login retries,
    When i check the ip (167.99.88.28) under DEBUG > TEST COUNTRY CODE FOR IP i see that this ip is from GB.

    My expectation would be that all ip’s from other countries would not be able to access the login page and are not allowed to enter a user/password.

    Is my expactation wrong or is this a bug in the plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter benny54

    (@benny54)

    It looks like i found where the problem was. I had installed WP Optimize as a caching plugin. It seems that by default this plugin is caching the login pages for WordPress. I replaced it by WP Fastest Cache which by default excludes the login pages. For now when i test from a blocked country (using GTMetrix), the login page is not showing anymore and is redirected to the homepage as configured.

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi,
    I am glad to hear that things work as intended now, and thank you for sharing the issue about WP Optimize. Will mark this item as resolved.

    Regards,
    Iulia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Country blocking does not work for me’ is closed to new replies.