I have an .htaccess file that I made so users will not be able to get to the site.
Now I want to enable them to go in the site but not to the admin page.
Where do I need to move the file so it will ask for a password just for admin login but not for regular users in the front end?
The file looks like this:
Code:
AuthType Basic
AuthName "Access to /xxxx/"
AuthUserFile /xxxx/htpasswd
Require user xxxx