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 SowfiHost customer, we have you covered. By default, the directory listing is disabled on our Cloud Hosting servers.

Powered by BetterDocs

Leave a comment