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

Was this answer helpful?

Related Articles

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

Why do I get emails for cron jobs?

This is the default. If you would like to disable receiving emails when a cron job runs append...

What are these .htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...

Domain Slamming - Beware

There are several companies out there using a predatory practice of attempting to have you renew...

Meta Redirect

Adding this code to your web page will redirect your visitors to any address that you have...