With the absence if an index file, the cPanel server will display the content of a directory when accessed via the web. This is in some cases fine, but in other cases, you may wish to obscure the content of a directory from easing viewing from the web. You can use the cPanel Index tool to either insure that a directory content is listed publicly or inaccessible.
To manage the indexing of a specific directory, follow the steps below -
1) Login to your cPanel account.
2) In the Advanced section, click the Indexes icon
3) On this first page, you will be asked to navigate to and select the directory you wish to manage indexing for. In most cases this will be a folder associated with your website and these all exist within your public_html folder. Use the folder icon to open your public_html directory and then if needed, navigate further until you can select the intended folder by clicking the folder name itself.
4) Once you have carefully selected the directory, you will be presented with a new page. You should confirm the directory path and folder name before you proceed. If you need to correct anything, you’ll need to go back to the pervious step.
5) Our cPanel server only supports two primary options - no indexing and the default “fancy” indexing. If you with to obscure the content of a given directory with a Forbidden error, be sure to select No Indexing.
If you would like users to be able see the content of the directory (with file name, size, and date last modified) make sure Default System Setting is selected. Once you have made your selection, click Save.
You should be present with a green success message, Click Go Back to return to the previous page.
If you wish to adjust your indexing selection, follow the steps above to select a different indexing method.
That’s it! If you have any question about this please let us know!