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.

# DISABLE DIRECTORY VIEWS
Options -Indexes

3.Save the file and Done.

Suggested Read:  Secure your Wordpress Website - Wordfence Security

You may also like...

Leave a Reply

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

*