Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Keep those who are testing your security fences at bay by disallowing unauthorized access to your wp-config.php file. Add the following code to your .htaccess file
<files wp-config.php>
order allow,deny
deny from all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.