How to disable directory browsing using .htaccess?

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

Facebook
Google+
Twitter
LinkedIn
Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Do You Want Cheap VPS Hosting?
Save 50% On Your VPS Hosting
save 50%

READ MORE