# Directory Privacy

**URL:** <https://forum.infinityfree.com/t/directory-privacy/122217>\
**Category:** Hosting Support\
**Created:** [November 30, 2026, 3:46am UTC](https://forum.infinityfree.com/t/directory-privacy/122217 "2026-11-30T03:46:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WebDevOnTheGo](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/webdevonthego/32/69191_2.png) [@WebDevOnTheGo](https://forum.infinityfree.com/u/WebDevOnTheGo)\
**Post date:** [November 30, 2026, 3:46am UTC](https://forum.infinityfree.com/t/directory-privacy/122217/1 "2026-11-30T03:46:13Z")

</div>

### Website URL

[https://webdevonthego.page.gd](https://webdevonthego.page.gd)

### Error Message

404

Not Found

The route accounts/if0\_43534751/domains/webdevonthego.page.gd/protectedDirectories could not be found.

### Other Information

I created a test password protected area on my website via the cpanel and it works; however, when I attempt to use the cpanel to edit the test password protected areaa via the cpanel directory privacy - when I select Alter Protection I get a 404 page error. I dont understand, because the test password protected area I created still works, I just cant access it through the cpanel anymore when I created form the cpanel. Make it make sense!

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [November 30, 2026, 3:46am UTC](https://forum.infinityfree.com/t/directory-privacy/122217/2 "2026-11-30T03:46:13Z")

</div>

Welcome to the InfinityFree community forum! Good to have you here.

- Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
- Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
- AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
- Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [November 30, 2026, 3:46am UTC](https://forum.infinityfree.com/t/directory-privacy/122217/3 "2026-11-30T03:46:28Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

The guide I found says Protected Directories is managed from the members area, not from the control panel’s Directory Privacy page. Open your hosting account at [dash.infinityfree.com](http://dash.infinityfree.com), then the domain, then **Advanced → Protected Directories**. **Manage Users** next to the folder is where you change things.

Here’s the guide:

> [@How to password protect a folder on your website](https://forum.infinityfree.com/t/how-to-password-protect-a-folder-on-your-website/122050):
>
> With Protected Directories, you can put a folder of your website behind a username and password. Visitors who open anything in that folder get a login prompt from their browser, and only see the content after they log in. This is useful for things like an admin section, files for a few people only, or a whole site you’re still working on. Step 1: Protect the folder Log in to the [client area](https://dash.infinityfree.com), open your hosting account, and open the domain the folder is on. In the domain’s menu, under Advan…

It also says the protection is stored as an `.htaccess` and `.htpasswd` file in the folder. That would explain why your test area still works even though the page that edits it fails.

I can’t tell from your post whether the 404 comes from the control panel’s page or from the members area. Does the same 404 appear when you open Protected Directories from the domain’s menu in the members area? And which address is in the browser’s address bar when the error shows up?
