Created
December 24, 2014 12:23
-
-
Save yepes/31d027248f48ee9ece39 to your computer and use it in GitHub Desktop.
Disallow accessing php files in wordpress upload directory
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
| #.htaccess to be saved on the root of wordpress upload directory | |
| <FilesMatch "\.(php|php3)$"> | |
| Order Deny,Allow | |
| Deny from all | |
| </FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment