How Can We Help?

How to disable directory browsing using .htaccess?

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?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Tags:
Previous How to blacklist an IP Address to deny it access to your website?
Next How to Disable the Two-Factor Authentication on Your cPanel Account?
Table of Contents
Customers' reviews on Hostings.info Website Roof is listed on whtop.com Website Planet IPV6 Supported Secured by Imunify360