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 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.
Sorry to hear that. I am sure it is just a coincidence. Let me know what you find out from the logs.