Last active
March 29, 2017 14:41
-
-
Save ihorduchenko/d32f1ad3abfd7c426085a263f3872b0b to your computer and use it in GitHub Desktop.
This file contains 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
//insert this code after #END WordPress | |
<FilesMatch "^.*(error_log|wp-config\.php|php.ini|\.[hH][tT][aApP].*)$"> | |
Order allow,deny | |
Deny from all | |
</FilesMatch> | |
OR | |
<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