updated   : May 15, 2012
we now have 588 snippets
By : , on December 03, 2010 4:00 pm

Protect wp-config with .HTACCESS

wordpress snippet

Adding this to your .HTACCESS will prevent access to your wp-config.php file.

snippet :  PHPcopy
<files wp-config.php>
order allow,deny
deny from all
</files>