There was a problem loading the comments.

How to Disable Directory Browsing Using the htaccess Rule

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

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




Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA

On-Premise Help Desk Software by SupportPal
© FLXI