Support: Mon-Fri 09:00 to 18:00 UTC+01:00 Email: Office@hostcay.com or Open Ticket

Knowledge Base

How to Disable Directory Browsing Using the htaccess Rule

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



Please rate this article to help us improve our Knowledge Base.

0 0