Directory Indexing controls whether visitors can view a list of files in your website directories. TZSMM Host guides you on enabling or disabling directory indexing in cPanel to secure your website files.
Access your cPanel account at https://yourdomain.com:2083 and log in using your credentials.
Scroll down to the Advanced section in cPanel and click on Indexes. This tool allows you to control the directory listing for your website folders.
Choose the folder you want to modify. Click Go next to the desired directory. Commonly, the public_html folder contains your main website files.
Select one of the available options:
After selecting your preferred indexing option, click Save to apply the changes. The directory will now behave according to your chosen setting.
Open your browser and navigate to the directory URL (e.g., https://yourdomain.com/folder/) to verify the changes. Ensure indexing behaves as expected.
Properly managing directory indexing improves your website’s security by preventing unauthorized access to files. Use cPanel’s Indexes tool to enable or disable directory listing for any folder on your site. TZSMM Host provides guidance to help you maintain a secure and organized website environment.
36 Users Found This Useful (117 Votes)