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
Common Search Engine Optimization Tips
Get other websites to link to you. Have your website linked and posted in socal media...
How can I redirect http to https?
Create an .htaccess file with the following contents and upload it to your public_html directory....
Why can users behind proxies not see my site?
If you have enabled hot link protection users behind proxies may not be able to see your site...
I am unable to delete a file
This can occur for several reasons. With our service, if a directory of a script was found to be...
Enable AllowOverride
If you have an application that requires allowoverride enabled, create an .htaccess file and...
