Disabling Directory Browsing from cPanel:
Step1: Login to your cPanel.
Step2: Go to Advanced (section).
Step3: Click on Indexes.
Step4: The directory tree will display. Select what level or folder you want disabled. If you want to disable the entire site then select “Up One Level” and select the domain.
Step5: Choose No Indexing.
Step6: Save.
.htaccess Method to Disable Directory Website Listings for Blogs:
Step1: Log into your hosting or connect via FTP.
Step2: Download the .htaccess
file.
Step3: Open in a plain text editor. (you can also edit online with Temok hosting editor)
Step4: Just add this line at the bottom; Options - Indexes
Step5: Upload new .htaccess
file.
Note: always save the old file(s) under a different name by adding a prefix – just in case someting screw up (e.g. old2016htaccess).
Most Popular Articles
File Manager
The File Manager in your cPanel can be used to view, change, add, and remove website information...
How Do I Check How Many Visits I Am Getting?
Checking your website statistics allows you to gain more insight about your site’s performance....
How to Repair a Database
If you are getting *database table marked as crahsed error*It can easily be fixed within cPanel:...
How to create MySQL database and its User:
1- Create a MySQL Database: Log into cPanel. Under Databases, click MySQL Databases. In the...
What is a parked domain?
A parked domain name is an additional domain name that redirect to the same URL as the main...