Created
April 1, 2019 16:43
-
-
Save roborracle/2e9b696a7bf20534d36d85ae6499e5ba to your computer and use it in GitHub Desktop.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<files wp-config.php> | |
order allow,deny | |
deny from all | |
</files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment