View Categories

Disable Directory Browsing by Using the htaccess Rule

< 1 min read

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