How to Use Index Manager in cPanel


Index Manager in cPanel lets you control what happens when a visitor accesses a directory on your website that does not have an index file (like index.html or index.php). By default, the server may show a list of files in that folder — which is a security risk.

Index Manager Options

  • Default System Setting: Uses server-wide default behavior.
  • No Indexing: Returns a 403 Forbidden error — visitors cannot see folder contents. Recommended.
  • Standard Indexing (filename only): Shows a plain list of filenames.
  • Fancy Indexing (filename + description): Shows filenames with icons and descriptions.

Steps to Configure Index Manager

  1. Login to cPanel.
  2. Under Advanced, click Indexes.
  3. Browse to the directory you want to configure.
  4. Click on the folder name.
  5. Select your preferred indexing option.
  6. Click Save.

SKPHost recommends setting all directories to No Indexing to prevent exposing your file structure to the public.

Disable Directory Listing via .htaccess

# Disable directory listing
Options -Indexes

Add this to your .htaccess file in public_html to disable listing for all subdirectories at once.

If you continue to face issues, please open a create a request.

Kas see vastus oli kasulik? 0 Kasutajad peavad seda kasulikuks (0 Hääled)