'Privacy is not something that We merely entitled to, it's an absolute prerequisite'
Strong advocate of privacy, anonymity and network neutrality since 2009.
UpdateS and news
WEBCARE360 BLOG: GET ALL LATEST NEWS, UPDATES AND PROMOTIONS
18
Feb / 12

Protect Your Admin folder by Limiting Access in .htaccess


CATEGORY: Knowldge Base

You just need to create the .htaccess file with the following code and that’s it.

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName “Admin Access Control”
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
# whitelist WebCare360’s IP address
allow from xx.xx.xx.xxx
# whitelist Xunny’s IP address
allow from xx.xx.xx.xxx
# whitelist Khawaja’s IP address
allow from xx.xx.xx.xxx
# whitelist aa_Numb’s IP address
allow from xx.xx.xx.xxx
# whitelist Work IP address
allow from xx.xx.xx.xxx
</LIMIT>

Paste your IP Address and upload the file.

Now if you have more than one IP make sure you list them there. For example, Work, Home, Vacation IP, if you ever use it. Each time you want to visit your wp-admin panel from another location, you would have to add an extra IP address.

— WebCare360


  • share on facebook
  • share on twitter
  • share via email