i got a Website structure like this
and im trying to protect the backendfolder with a htacces password.
I generated it using the Manage password protection Method of 000Webhost. I chose the Backend
But now i got the Issue, that my Main Index Page also is protected although it is not located in the Backendfolder.
Means the login Pop up also appears by opening up index.php.
The ht files are located in the backup folde. I did not touch them.
Code looks like this:
/# HTID:9006266: DO NOT REMOVE OR MODIFY THIS LINE AND THE LINES BELOW
AuthName “Restricted Access”
Require user chicknwing
/# DO NOT REMOVE OR MODIFY THIS LINE AND THE LINES ABOVE HTID:9006266: