. . .

How to Disable Directory Browsing Using the htaccess Rule

  • December 28, 2024
  • 0 Comments

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



How helpful was this article to you?