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.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.

Also Read:  How to Find Vulnerabilities in Websites Using ZAP

Leave a Reply