Block Ip's which hit certain landing page
-
I’ve done searches here “block ip for page” and couldn’t quite find what I was looking for. I am using a plugin stack which redirects anyone who attempts to hit my login page to a custom 404 page separate of theme folder 404. All paths to access the login page are successfully redirected to the 404 page.
Combined with that I have a two-step login which requires an authorization code. Combined with that.. if any user attemps to login with the wrong user name their IP is blocked. If they were to use the correct user name, after 3 failed attempts they are blocked.
I would like to block any ip which hits my 404 redirect page. Any solutions someone would be so kind to share?
I’ve been thinking of taking snippets from the code in the Login Lockdown plugin but I’d like some input first before I spent 3 or 4 days coding it myself. I have a little more than a basic knowledge of PHP.
Thanks
- The topic ‘Block Ip's which hit certain landing page’ is closed to new replies.