# 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.
Related posts brought to you by Yet Another Related Posts Plugin.
Name (required)
E-mail (required)
URI
Your Comment
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>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Notify me of follow up comments via e-mail
Notify me of new posts by email.
© 2007-2012 Strangely Perfect All Rights Reserved
How to Protect WordPress wp-config using htAccess
# 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.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.