You may have visited one of your webpage’s URLs and found a list of files.
This is a directory index. It displays a list of the files in your directory when you visit the directory’s URL. This will only occur, however, if you haven’t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory’s web settings.
Hiding or Showing Your Directory Index
First, you must determine what directories you want to hide. Keep in mind that directories are hierarchical. If you hide the directory index in a top level directory, it will affect the subdirectories, as well. If you wish to hide the top-level directory, but don’t wish the subdirectories to be hidden, you can go through and change the subdirectories with the same method as changing the top level directories.
To hide/show your directory:
- Log in to the Account Control Center (ACC)
- Click Files in the left sidebar
- Click Web from the drop-down
- From here, navigate to the directory you want to show/hide. Directories are shown with blue folders. Click on a directory’s name to enter it.
- Once you’ve entered your chosen directory, click Web Settings in the top nav bar
- Click Directory Listings
- To show your directory index, click List Files. To hide your directory index, click Do Not List Files
- Click Update
Your directory will be updated to the preference you selected.