Magento 1.9.1 disallow access to dirs

I wanted to disallow access to image dir from a browser, rather than put in a black index.html page I found this solution here

In the main .htaccess file add the following code, save and upload.

Options -Indexes

Leave a Comment

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

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest DEALS, OFFERS and News before anyone else.

You are almost done - please check your inbox for confirmation!

Pin It on Pinterest

Share This
Scroll to Top