Prevent a Directory Listing of Your Website

To prevent visitors can open your web directories in browser, you just need to add a .htaccess file in the folder if you are using Apache and .htaccess enabled.

One line need to be included in the .htaccess file which will disable indexing.

Check more in here: How to Prevent a Directory Listing of Your Website with .htaccess

 

 

Leave a Reply