Last active
December 22, 2015 18:29
-
-
Save lynettechandler/6513640 to your computer and use it in GitHub Desktop.
Secure wp files
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
# secure htaccess file | |
<Files .htaccess> | |
order allow,deny | |
deny from all | |
</Files> | |
# secure other files | |
<FilesMatch ^((wp-config|wp-load|wp-settings)\.php$)$> | |
order allow,deny | |
deny from all | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment