Tjeneste-oppgradering: Følg linken for nærmere status vedrørende migrering, for generelle spørsmål og svar se vårt hjelpesenter.

How to use Indexes to index folders in cPanel


EXPERIENCING PROBLEMS WITH OUR SERVICES? RUN A DIAGNOSE FIRST TO SAVE YOURS AND OUR TIME

Added: 10.03.2014 23:26:29     Last updated: 11.05.2019 14:10:50

This guide details how to proceed to start using "Indexes" in cPanel. The guide requires you to first log into cPanel.


Let’s say you have a folder named "photos". If you do not have any index.html file in this folder, visitors can see a list of the contents of the folder if this person types the address in the web browser. A way to prevent this is to start using "Indexes" which can turn off indexing in the folder.

Step 1:
Click on the icon for "Indexes" as shown in the screenshot below:

Indexes in cPanel


Step 2:

  1. Choose the placement for the folder you want to make changes to. Here we choose "public_html", which is the root folder for your main domain.
  2. If you have other domains you can change the root folder by using the interface on settings.

Choose which folder to make changes for

 

 

Step 3:

  1. Choose the domain or folder you want to manage the indexing for.
  2. Save the changes

Choose which folder to make changes for

 

Step 4:
To continue, we must pick a folder we want to set indexing on/off for. In the example below we choose the folder called "pictures" by clicking on it.

Choose which folder to change settings for


Step 5:

  1. Choose "No Indexing" to prevent visitors from being able to see the contents of the folder.
  2. Click "Save" to save the changes.
Pick which type of indexing and save after completion


Step 6:
Indexing is now turned off for this folder. To go back to the "Indexes" menu, click "Go back".

Go back after choosing setup

The results of turning off indexing for a folder will look like this in a web browser:

Check the website after changes in indexing has been made


Step 7:
If you want to turn on indexing for the chosen folder, click "Advanced indexing (file name and description)" and click "Save".

Turn on indexing


Step 8:
Indexing is now turned on for the chosen folder. The result of turning on indexing for a folder will look like this in a web browser:

Result of indexing

Done
You have now been through how to use indexing for folders via cPanel.