Support » Plugin: Login IP & Country Restriction » Not working

  • 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 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Iulia Cazan



    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.


    • This reply was modified 1 month, 3 weeks ago by Iulia Cazan.

    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


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

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.