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

Whitelisting Our Support System Email Address

Whitelist Instructions Because we use often use html emails with http addresses in them, our...

“Not Secure” Web Error

In this day and age browsers now default to using https:// instead of http://. We make SSL...

How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

Setting up Zend Framework

When setting up Zend Frameworks in your hosting account be sure to upload your frameworks folder...