How to disable directory browsing using the htaccess Rule?

Amrita Basu

Last Update 6 ay önce

For security purposes, you should disable directory browsing on your website so no one can see the files/directories of your website.

You can disable Directory Browsing by adding the below line to your dot htaccess file.

Options -Indexes

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us