Base de conhecimento

How to disable directory browsing using .htaccess?

Disable Directory Browsing Using htaccess - HostCupid

For security purposes, we recommend that you to 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


Get Fast & Affordable Hosting in India

Start your website with SSD hosting, free SSL, cPanel, daily backups and 24/7 support from HostCupid.

View Hosting Plans

Also explore: WordPress Hosting | Reseller Hosting | Domain Registration

  • 0 Usuários acharam útil
Esta resposta lhe foi útil?
Artigos relacionados
Copyright © 2026 Hostcupid Web Solutions Private Limited. Alguns Direitos Reservados.