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 do I submit my site to search engines?

Submit your website to popular search engines to increase your webite's exposure and visitor...

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...

Error 508 / 503 - Resource Limit Reached

To help maintain the stability of servers and keep websites fast, UltraWebHosting has resource...

Howto: Add another website to your account

You can add another website to your hosting account if your hosting plan allows for more than one...

Why does it show the Ultra Web Hosting home page when I go to my site?

There are several reasons for this. Ensure you do not have https at the beginning of your...