04
May
2010

Disable Directory Indexing in WordPress

Posted in: WordPress Security No Comments

disable directory index This is another good security tip for your WordPress blog. This method works for all types sites. By disabling directory indexing, you can prevent people seeing through your directory structure. Like say people cannot see list of images stored in domain.com/images

This can be achived using a .htacess file in public_html folder. Just add below codes in .htacess file present in your public_html folder.

Options -Indexes

Warning

When editing or modifying the .htaccess file of your WordPress blog, make sure to always have a backup that you can restore in case of something went wrong.

browse premium wordpress themes

About the Author

Name: Ravi Shekhar
I love blogging and designing WordPress and Drupal themes.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>