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

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...

Inode issues

There are many issues that can arise from reaching your inode limit. The inode limit is the total...

My site was hacked

This typically occurs when you are running a script/app on your website which is out-dated and...

How do I create a helpdesk ticket?

You may create a helpdesk ticket at any time by visiting https://my.ultrawebhosting.com and...

“Not Secure” Web Error

In this day and age browsers now default to using https:// instead of http://. We make SSL...