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 8 years, 3 months 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