How to protect your web directories
If you're new here, you may want to subscribe to my RSS feed or Email alerts. Thanks for visiting!
I just saw a post on Life Rocks 2.0 which explains you to how to protect your wordpress theme files. It is possible for any one to see your wordpress theme files or plugin folders to see what themes you are using or what plugins you use if you don’t protect them.
What you do to protect, one method is to follow above linked post, but the problem is what to do when you have many directories with out index.html files. In this case adding a simple rule to your .htaccess will solve the problem.
Simply add “Options -Indexes” to your .htaccess file, so whenever try to open any directory on your webserver with out index.html file will show a 403 error page. With this one rule you can save lot of time in creating index.html files to each directory.

This only works with Apache Webserver. Read more about Options indexes.









December 27th, 2007 9:53 pm
December 28th, 2007 12:56 am
December 28th, 2007 12:24 pm
December 28th, 2007 4:30 pm
ur right for inexperienced users it may be difficult to play with htaccess.
@Kanak
You are welcome
@Haris
You are welcome, don’t hesitate to contact me if you need any help.
December 31st, 2007 6:40 am
December 31st, 2007 9:06 am
Glad that it is useful for you