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

Some visitors in China and Russia cannot reach my website

Some networks known for abusive activity such as hacking in countries such as China, North Korea...

How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....

Error 406 unacceptable

This error can be caused by several factors. One cause can be the incorrect permissions are set...

Point my domain to my wix account

How can I point my domain name to my wix.com account?To set this up you will want to login to...

What are these vt directories?

Those are FrontPage extension directories. If you have and no longer need them you can uninstall...