Disable directory browsing using .htaccess to Increase your website Security

Take a backup of your .htaccess file

1.Open your .htaccess file.

2.Add below code as a new line.

Options -Indexes

3.Save the file and Done.

Suggested Read:  How to improve Google Chrome privacy settings

You may also like...

Leave a Reply

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