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 is a domain?

A domain is a human-readable name assigned to an IP address to make accessing websites much...

Do you have a firewall?

Yes, our servers have firewalls. For security we close off unused ports and update the server...

Installing an SSL Certificate in cPanel

To start, the website requires a dedicated IP. If you do not have one, you may order the...

I can not get the transfer authorization email can it be forwarded to a different email address?

The authorization has to be authorized by the registered contact for the domain. We cannot change...

Do you support TeamSpeak?

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