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 make search engine friendly urls with my app?

The best source is the support forums for the particular app. You can also check the following...

What are some tools are available to optimize my website?

There are many great tools to optimize your website. There is an optimize tool in your hosting...

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

301 Redirect

This code will redirect all visitors who attempt to access the old-url.html page to the...

Do you support TeamSpeak?

We do not support Teamspeak on our servers but allow you to create a subdomain such as...