Posted By

stephcode on 09/25/10


wordpress prevent folders

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Prevent people from casually browsing your WordPress Folders

 / Published in: PHP


Since you definitely don’t want Peeping Toms to navigate your WordPress files and folders using the explorer view in web browsers, add the following link to your .htaccess file that exists in the main WordPress installation directory.

  1. Options All -Indexes

Report this snippet  

You need to login to post a comment.