Created
August 19, 2014 09:28
-
-
Save matteomattei/3c31ad6f07c821e0b230 to your computer and use it in GitHub Desktop.
htaccess to protect wp-content/uploads folder
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
<FilesMatch "\.(php|php5|php4|php3|pl|py|sh|cgi)$"> | |
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