In CPanel i have setup password protection via "Directory Privacy". I have a website which is live and within the root folder i have a subcategory which i am trying to password protect.
I open Directory Privacy and go to Public_html and then click back and then go to the subcategory and then i set the name and check password protect this directory and i add a username and password.
The padlock shows in the tree showing the subcategory is protected, however when i go to the url/subcat it just returns a 404 error page from the root website. If i take password protection off, i can then access the subcategory fine.
I open Directory Privacy and go to Public_html and then click back and then go to the subcategory and then i set the name and check password protect this directory and i add a username and password.
The padlock shows in the tree showing the subcategory is protected, however when i go to the url/subcat it just returns a 404 error page from the root website. If i take password protection off, i can then access the subcategory fine.