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

How do I customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...

How do I create a helpdesk ticket?

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

My index page does not load. Why not?

Filenames are case sensitive. Be sure you have an index filename all in lower case. Examples are...

What is a domain?

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

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