Limited offer: Get 50% OFF on monthly VPS Hosting plans!

How to Disable Directory Browsing

Estimated reading time: < 1 min

This is useful if you have a big list of files in a directory with no index file and you don’t want visitors to be able to browse through all of those.

How to Disable Directory Browsing

Just add the following line in the site’s .htaccess file located in the root directory of your website.

Options -Indexes

If you are a ChemiCloud customer, we have you covered. By default, the directory listing is disabled on our servers.

Was this article helpful?
No 0