In the directory that you wish you turn off directory indexing, you can do it under Index Manager in the control panel or by creating an .htaccess file and include the following line:
IndexIgnore */*
To turn off indexing in all directories create a .htaccess file in your root/main directory (before public_html) and add the following line:
Options -Indexes
To enable it create an .htaccess file with the following line:
Options +Indexes
- 460 Users Found This Useful
Related Articles
What are these htaccess files that keep popping up?
.htaccess files are default files the server uses to perform certain tasks. Features such as...
Redirect http to https and www
To forward a website to use both www. and https:// use the following in an .htaccess file:...
My site was hacked
This typically occurs when you are running a script/app on your website which is out-dated and...
Change your Websites Favorite Icon
How to change your website's icon for your internet browser. Create a 16x16 pixel icon image...
Point Multiple Domains to the Same Website
Pointing other domains to your website is easy! Simply make sure their DNS settings are pointing...
