main logo

How to disable directory browsing using .htaccess?

Contents

How to disable directory browsing using .htaccess?

Disable directory browsing using .htaccess

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

About the author
Sreenivasa Reddy G

Related Articles

medhacloud logo
USA:
Medha Cloud Solutions LLC
30 N Gould St Ste R, Sheridan, WY 82801,
Phone: +1 646 775 2855

India:
Medha Cloud Solutions Private Limited
#74, 7th Cross, Krishna Garden InCity Layout. Chikka Kammanahalli, Banneraghatta Road, Bangalore 560083
Phone:+91 93536 44646

E-Mail: sales@medhahosting.com
©Medha Cloud 2024. All rights reserved.
White Label Managed IT Services - Free Trial

Managed IT Services

Here is a breakdown of our managed IT services, including workstations, servers, networks, security, and support options. Choose the services that best fit your business needs.


blue-cross
Microsoft 365 Migration - Free Quote

blue-cross