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 Multiple Domains to the Same Website

Pointing Multiple Domains to One Website   To have several domain names all display the same...

Your connection to this server has been blocked at the firewall

Blocked by the Server Firewall   If you see the message "Your connection to this server has...

I have a reseller account. What can I use for billing software and automation?

There are many great programs that work for both billing, domain and cpanel integration. Check...

Domain Slamming - Beware

There are several companies out there using a predatory practice of attempting to have you renew...

Why is the server load status red?

Why is the Server Load Status Showing Red?   If you see a red server load status indicator...



Save 30% on web hosting - Use coupon code Hosting30