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

How can I tell how much disk space I have available?

To see how much disk space you have available, go to your control panel and on the left side of...

Adding a Facebook Button

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

Redirect http to https and www

To forward a website to use both www. and https:// use the following in an .htaccess file:...

SSL - Creating a CSR in Windows 2003

Creating the CSR IIS Windows 2003 or 2000 Server: From Administrative Tools, run the Internet...