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 to use SharedSSL

SharedSSL is now available with our Ultra Unlimited. It is not as professional looking as having...

Your connection to this server has been blocked at the firewall

If you receive the message: "Your connection to this server has been blocked at the firewall. If...

How do I remove a web disk?

In Windows, go to My Network Places on your PC, find the connection, right click and delete....

Why is the server load status red?

The server load status will be red if the server is under a little more stress than usual. This...

View your website in older browser versions

As developers and webmasters it is always important to make sure your website works in several...