- Login to cPanel.
- Locate and click on the "Indexes" icon under the "Advanced" category.
- Click a directory's icon or name to navigate the file system.
- To select a folder, click on the "Edit".
- Select the desired index settings by the following options:
- Inherit - Select this mode to use the parent directory’s setting. If the index settings are not defined in the parent directory, the system will use its default settings.
- No Indexing - No files will appear for this directory if a default file is missing.
- Show Filename Only - This mode shows a simple list of the files present if the default file is missing.
- Show Filename and Description - This mode shows a list of files and their attributes: file size and file type.
Now, click "Save" then cPanel will saves the directory index settings for your directory.