04
May
2010
2010
Disable Directory Indexing in WordPress
Posted in: WordPress Security
No Comments
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.



