SetEnvIf Request_URI "^/wp-content*$" AdminUri

AuthUserFile /public_html/.htpasswd

AuthType Basic

AuthName "My Secret Folder"

Require valid-user

I set up authentication in my site as above. I want to remove it for one URL i.e. abc.com/e-avis, but I need authentication for all other URLS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.