Sales & Customer Support: +254748285257

 

How to disable directory browsing using .htaccess?

Home > How to disable directory browsing using .htaccess?
 

Welcome once again to Hostnali Webhost, a Simple, Secure & Dependable hosting provider. We have optimized hosting plans, Reseller Hosting Plans, Master Reseller plans, VPS servers as well as Dedicated servers. Today, however, we will be focusing on [page_title]. Read on and get the knowledge and skills to make your Web Hosting experience fun.

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