Secure Admin URL

Block Unwanted Visitors with .htaccess

Example .htaccess

  • 10.231. - This is subnet
  • 1.11.22. - This is subnet
  • - unique IP Address

Block Unwanted Visitors with .htaccess using password

Example .htaccess

  • /path/to/htpasswd/file/ has to be a valid path to your .htpasswd file. Use a password encryption program to create your passwords. Paste the lines into your .htpasswd file and save the file. You will have one line for every username that requires access.
  • Change "Name of Area" to the name of the site section being protected.