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
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...
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...
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...
https:// with Weebly
To enable and force https:// with your Weebly website, be sure to go into your editor area,...
