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

osCommerce password reset

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

Lightweight Browser for Older and Slower Computers

Are you looking for a faster up to date browser in this current age for your older computer on...

Can you write a script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most the...

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...

Password Protect Directories

Within control panel select Password Protection. Select the directory you would like to protect....