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
Enable Mod Rewrite
Create an .htaccess file with the following contents and upload it to your public_html directory....
What are these htaccess files that keep popping up?
.htaccess files are default files the server uses to perform certain tasks. Features such as...
What are these vt directories?
Those are FrontPage extension directories. If you have and no longer need them you can uninstall...
htaccess - Allow Let's Encrypt to Validate and Renew
When receiving the following Let's Encrypt error message:domain.com: The SSL certificate expires...
What are all these htaccess files?
.htaccess files are used to perform certain rules such as displaying a 404.shtml file in replace...
