Created
March 7, 2019 21:12
-
-
Save olkitu/671bd09b4f0d6ef3be87e0feae5a8d52 to your computer and use it in GitHub Desktop.
Block access to PHP files on wp-content/upload, wp-content and wp-include directory
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
<Files ~ "\.ph(?:p[345]?|t|tml)$"> | |
deny from all | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment