Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 60

(Home >> Advanced >> Indexes)

Overview

When a visitor accesses a directory (rather than a page) on your web site, the browser typically displays the directory's index page. If no index page exists, the browser displays a list of the files in that directory.

Manage a directory's index

Use the Indexes interface to define how the server displays a specific directory's index to a visitor, or to disable index display for a directory.

  1. In the Directory Selection window, select one of the following locations in which to begin navigation:
    • Web Root — Begin navigation in the document root for the account's primary domain.
    • Document Root for: — Select the domain that corresponds to the document root in which you wish to begin navigation.
  2. Navigate to the desired folder with the following:
    • To navigate into a folder, click the folder () icon.
    • To navigate up one level of the directory tree, click the Up One Level folders icon.
    • To select a directory, click that directory's name.
  3. Select one of the following options:
    • Default System Setting — cPanel uses the default that your hosting provider defines.
    • No Indexing — The server does not list the contents of the directory. Browsers display a message that states that the contents are forbidden.
    • Standard Indexing — The server lists the directory's contents as filenames only.
    • Fancy Indexing — The server lists file names and additional information, such as file size and time last modified.
  4. Click Save.