• Resolved dreamsign

    (@dreamsign)


    It seems that the plugin makes it possible to block access to the admin area alone, but when I try to do that, it blocks people in blocked countries from accessing at least some front end pages.

    What am I doing wrong?

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @dreamsign,

    It seems that the plugin makes it possible to block access to the admin area alone,

    Yes it does, unless you enable “Block by country” at “Front-end target settings” section.

    but when I try to do that, it blocks people in blocked countries from accessing at least some front end pages.

    In this case, you can find that accesses not in the “Public facing pages” but in other target such as “Admin area” on “Logs” tab. So could you copy and past that accesses to this topic like this?:

    2017-01-27 07:48:26	XXX.XX.XX.XX	US	wp-zep
    Request:
    GET[XX]:/blog/wp-content/plugins/ip-geo-block/samples.php
    User agent:
    Mozilla/5.0 (compatible; bingbot/2.0; +https://www.bing.com/bingbot.htm)
    HTTP headers:
    HTTP_X_FORWARDED_FOR=XXX.XX.XX.XX,HTTP_FROM=bingbot(at)microsoft.com
    $_POST data:

    Thanks.

    • This reply was modified 8 years, 1 month ago by tokkonopapa.
    • This reply was modified 8 years, 1 month ago by tokkonopapa.
    Thread Starter dreamsign

    (@dreamsign)

    i think i’ve figured it out.

    the pages being blocked are password protected, and ‘password protected’ is one of the options under Login Form.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    I see.

    So you should uncheck “Password protected” at “Login form” in “Back-end target settings” section. Because if someone accesses a password protected page on front-end then WordPress redirects to login page. But when you enable “Password protected“, this plugin validates its country code.

    Does this make sense?

    Thread Starter dreamsign

    (@dreamsign)

    yeah. i unchecked “password protected”

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘block admin only?’ is closed to new replies.