How to Disable Directory Listing in cPanel Print

Preventing directory listings is very simple and pretty useful. Its useful when, for example, you have any sort of directory containing images or  '.zip' archive files. Alternatively you can enable directory listings, to do either of these please follow the steps below.

  1. Log into CPanel
  2. Click on indexes, This will be located under advanced features
  3. Select the directory on which you like to change the index setting - For example public_html 
  4. A new window will open and here you can click ‘No Indexing’ option to disable directory listing. 


    Here you can see four types of indexing methods.

    Default System Indexing: This is the default option set by a hosting provider (We default to no indexing).

    No Indexing: This option allows to disable directory listing. The main reason to disable directory listing is to enable privacy in order to reduce the chances of the files being attacked.

    Standard Indexing: This option will enable the directory listing. The user can see the name of the directories.

    Fancy Indexing: This option will enable the directory listing.  The user can see the name and description of the files and directories under your indexed directory.

    5) Click Save.

If you should have any issues or have any questions regarding this topic please contact us via a support ticket (open a ticket) with our hosting department and we will get back to you as soon as possible.

Was this answer helpful?

  • Tagged in cPanel, file manager
« Back

Powered by WHMCompleteSolution