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
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...
Why is the server load status red?
The server load status will be red if the server is under a little more stress than usual. This...
What are these htaccess files that keep popping up?
.htaccess files are default files the server uses to perform certain tasks. Features such as...
htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” follow...
Disable error_log via htaccess
Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...
