• Resolved MosesK

    (@kamaim)


    I have the same problem or maybe I misunderstand what your tool really does. I have a site that redirects from any page to the login page and I thought your plugin would restrict access from any country than specified — in my case redirecting them back to the login page if they originate from a country not listed.

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

    (@iulia-cazan)

    Hello,

    My plugin allows you to redirect the login page to something else if the user is not logged in, and if the user country is not selected by you as an allowed country.

    However, you are saying that you use redirection of all pages to the login page, then this is not going to work if you put another redirect within my plugin settings, as you might end up with a loop. You either use only one type of redirection, or you do not set a redirection with my plugin.

    So, when you just set the allowed countries to what you need and no extra redirections, when some visitor is trying to login (he/she is already on the page you allow login from), my script will only deny login if his/her country does not match the list you allows.

    Let me know if this helps.

    Regards,
    Iulia

    • This reply was modified 5 years, 1 month ago by Iulia Cazan.
    Thread Starter MosesK

    (@kamaim)

    I think I got it but not sure. Countries other than two I specified were being allowed to access the login page. Additionally, shortly after adding your plugin, my site got hacked and working through removing the malware. Trying to figure out where it came from. Hopefully the logs tell the story.

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Sorry to hear that. I am sure it is just a coincidence. Let me know what you find out from the logs.

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I haven’t heard back from you in a while so I will mark this as resolved.
    You can start a new thread if you have any other issues to report or questions.

    Regards,
    Iulia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working’ is closed to new replies.