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

Was this answer helpful?

Related Articles

What is the location of curl?

Curl is located @ /usr/bin/curl

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...

What is this Code 304 appearing in my stats?

304 is typically sent as a header if a visitor re-requests a document and the document has not...

How do I submit my site to search engines?

Submit your website to popular search engines to increase your webite's exposure and visitor...

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...