• Resolved masjmh

    (@masjmh)


    Hi All,
    is there any possibility to restrict the wp login url through rewrite rule?
    for example I am using this plugin and want to restrict the url which is generated by wp hide-login.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Use a .htaccess in your wp-admin file as shown below. Replace ips with your own private ips that you wish to give access to.

    <LIMIT GET>
    order deny,allow
    deny from all
    allow from 192.168.2.10 192.168.2.25
    </LIMIT>
    Thread Starter masjmh

    (@masjmh)

    Thanks a lot but it doesnot function.I have created the htaccess as described.

    • This reply was modified 7 years, 1 month ago by masjmh.

    Strange
    I use wp-hide log in and have never had an issue with it. I lock it down to my ip on my system via htaccess. Silly question, you did call it (dot) .htaccess and put it in wp-admin folder?
    Some times apache needs restarting for this to work if you did not already have the file in there.

    Try it with just a single IP address? Then try and access it from elsewhere.
    When you have put the IP in and restarted apache send me the web address and i will see if it works from here

    P

    Thread Starter masjmh

    (@masjmh)

    Yes my file is .htaccess and exist in wp-admin directory. I have to restart the server only. Many Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ip restriction wp login url’ is closed to new replies.