Index Manager

The Index Manager can stop people from seeing a list of all your files in a folder (the "Index of/" page that appears when you do not have an index.html file.)

If a directory on a site does not contain an index file, it will by default simply list every file in that directory in the visitor's browser. This is not always desirable, and the Index Manager allow you to turn this feature off.

How to Use the Index Manager

  1. Go to cPanel and click Index Manager.
  2. Select Web Root or the domain name or subdomain you want to view. Click Goonce selected. (Selecting Web Root will allow you to see all the publicly visible folders on your account.)
  3. Click on a folder icon to look inside. Click on a folder name to change it.
  4. To disable directory indexing, change the setting to "No Indexing".
    To enable directory indexing, change the setting to anything except "No Indexing".

Note: If you have previously manually edited your .htaccess file using tutorials such as Digicom's Directory Index tutorial, the cPanel editor will not recognize your code and will append its code to the end of yours. This could result in invalid .htaccess code and an Internal Server Error. Example:

  • If you have added a Directory Index line to your .htaccess file like this:
    DirectoryIndex index.php
  • Following these steps may cause cPanel to produce this code:
    DirectoryIndex index.phpOptions -Indexes

This may be resolved by moving the cPanel code to a new line, like this:

DirectoryIndex index.php
Options -Indexes
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress pointing home URL to subdirectory

Pointing your home site's URL to a subdirectory In some cases, you may have a WordPress site...

How to log into cPanel

cPanel is a web hosting account management tool available on all Digicom Linux hosting plans,...

Change cPanel Password or recover lost password

Requesting a New cPanel Password If you have lost or forgotten your cPanel password, you can...

Location of Script Configuration Files

Location of Script Configuration Files These paths are relative to the root of the script, not...

Connect to MySQL Database

How to Connect to the MySQL Database In order for your MySQL database to work as intended, it...