knowledgebase

How to disable directory browsing using .htaccess?

Sep 19, 2016 | Security (SiteWorx)

For security purposes, we recommend that you disable directory browsing on your website so no one can see the files/folders of your website.

 

You can disable Directory Browsing by adding this line to your .htaccess file.

Options -Indexes

Let’s make the next move a good one.

A website to build, a service to move or something to make simpler. Tell us where you are now.