Protect wp-config.php with .htaccess

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

Code Snippet:

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

Posted in Pure hacks