logologo
. . .
  • +1 (575) 378-3570
  • Support
logologo
← cPanel

How to disable directory browsing using .htaccess?

4 views

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



 

Was this article helpful?

Didn't find what you needed?

Contact support →