Categories
Categories
How to Disable Directory Browsing Using the htaccess Rule Print
- 0
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
Was this answer helpful?
Related Articles

The Best Web Hosting Company in Nairobi, Kenya.
Kenya Website Experts Ltd is the Largest Web Hosting Company in Kenya, our core focus is helping and empowering businesses & organizations online. Thousands of customers rely on our domains and web hosting to get their ideas online. We offer everything you need to create an effective & successful online presence backed by expert, personalized customer support. We offer ultra fast, reliable, affordable and secure website hosting services, email hosting, cloud hosting and SSL certificates. We make registration of Kenyan domain names (.co.ke, .or.ke .ac.ke) and international domains (.com, .org, .net) fast, simple, and secure. Our expert team is always on hand to help answer your questions, get you started, and grow your presence online. We deliver on performance, security, reliability and customer service day in, day out, and we’re a trusted partner.