Aug 292009
 

Last updated on December 1st, 2010

# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>

The <files> tag is necessary and this post is placed here as some WordPress comment systems strip them out rendering the code meaningless.

the .htaccess file itself can be similarly protected.

 Leave a Reply

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=""> <s> <strike> <strong>

(required)

(required)

© 1977, Strangely Perfect.