Control folder visibility and prevent unintended public exposure of your website files.
This guide will help you manage directory indexing settings in cPanel using the Index Manager feature. By the end of this guide, you’ll understand how directory listings work, how to control what visitors see when browsing folders on your website, and how to improve website security by preventing unintended file exposure. The process is straightforward and can be reversed at any time if your requirements change on your 1-grid Customer Zone hosting account.

Before You Begin
Before changing your directory indexing configurations, make sure you have:
- Access to your 1-grid Customer Zone
- An active legacy web hosting account using cPanel
- The specific domain name and directory path you want to configure
💡 Index Manager controls what happens when someone visits a folder on your website that does not contain a default index file such as index.html, index.htm, or index.php. Without an index file, a web server may display a raw list of all files within that folder, exposing sensitive data.
Follow These Steps
1. Open cPanel
Log in to your 1-grid Customer Zone, open the hosting service you want to manage, and select Login to cPanel.
2. Open Index Manager
In cPanel, scroll down to the Advanced section cluster and click Indexes (sometimes labelled Index Manager).
3. Select the Directory
Browse through the visual directory pop-up structure to locate the folder you want to manage, then click Edit directly next to the directory name.
4. Choose an Indexing Option
Select one of the following four privacy behaviours based on your folder security requirements:
- Inherit: Uses the same configuration setting as the parent directory. Choose this if you want the folder to follow existing parent folder rules.
- No Indexing: Prevents visitors from viewing a directory listing entirely. If no default index file exists, visitors see an access denied page. (Highly recommended for website security, configuration files, backups, and user upload directories).
- Show Filename and Description: Displays files alongside additional file attribute metadata like file size, extensions, and modification logs. (Recommended only for open download centres).
5. Save Your Changes
Select your preferred configuration option button and click Save. The new indexing path instruction updates inside the ecosystem immediately.
What Happens Next?
Once saved, server-level folder access definitions are applied instantly.
- Instant Masking: If you selected No Indexing, public users can no longer map or crawl your folder contents.
- Verification Loop: Open your directory URL route in an external private browser tab to confirm that the expected privacy message or listing behaviour displays correctly.
Important Things to Know
- Zero File Deletion: Modifying your configurations using the Index Manager does not alter or delete any underlying website data or directories.
- Reversal is Instant: You can return to the dashboard and change permissions back to an alternate state at any moment.
- Default Index Override: Existing native index files completely override Index Manager choices. If a directory contains an active
index.phporindex.htmlfile, cPanel will display that index page instead of an empty directory tree. - Propagation Dynamics: Local browser caches or Content Delivery Network (CDN) layers can occasionally delay visual updates. Clear your browser cache if outdated file trees continue to render.
Common Mistakes to Avoid
- Accidental deployment of the Show Filename Only property on backend storage folders containing application script code.
- Assuming the No Indexing rule encrypts or completely hides files that are directly linked or accurately guessed elsewhere on the internet.
- Forgetting that adding an index landing file to a folder instantly overrides your Index Manager rule parameters.
- Clicking and applying rules to the wrong root path folder directory via the selection trees.
- Leaving a modified layout unverified without running a live URL test in an external browser.
If This Didn’t Work
Should folder architectures continue listing components after applying a No Indexing rule, double-check that your server permissions are updating correctly. If a browser conflict displays an unexpected loop error, check your local cache layers first before trying again.
You’re Ready!
Your web folder directory indexing permissions are fully configured on your 1-grid hosting setup. Auditing your folders and restricting unnecessary directory lists is a simple, powerful way to maintain website security.
Related Articles
- How to Log in to cPanel via your 1-grid Customer Zone
- How to Create an FTP Account in cPanel
- cPanel: How to Protect Directories with Passwords
Need Help?
If your folder structures fail to hide after applying your changes, or if you require an engineer to evaluate your file structure paths, contact us. Our Support team is here to assist.
To help us investigate your directory configuration quickly, please provide:
- Your primary domain name
- The exact affected folder directory path (e.g.,
/public_html/uploads/) - A screenshot of your Index Manager settings panel
- A screen capture of the directory layout showing inside your browser window
- Any explicit server error messages displayed