How can I turn off directory indexing?

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
  • 458 Users Found This Useful

Was this answer helpful?

Related Articles

What is a Top-Level-Domain (TLD)?

TLD stands for Top Level Domain. This includes any domain names which suffix is .com, .net, .org,...

vBulletin fsockopen() [function.fsockopen]: unable to connect

When setting up mail in vBulletin be sure you are using localhost for the mail server along with...

osCommerce password reset

How to reset your osCommerce admin login... You can reset your osCommerce administrative login...

What perl modules are installed on the server?

You can get a complete list of the modules that are installed by going to the control panel and...

My site was hacked

This typically occurs when you are running a script/app on your website which is out-dated and...