Skip to content

Instantly share code, notes, and snippets.

@davidperezgar
Last active August 29, 2015 14:13
Show Gist options
  • Save davidperezgar/67ad225d208c5314efd1 to your computer and use it in GitHub Desktop.
Save davidperezgar/67ad225d208c5314efd1 to your computer and use it in GitHub Desktop.
Not allow execute PHP in WP-uploads
<FilesMatch "\.(php|php\.)(.+)(\w|\d)$">
Order Allow,Deny
Deny from all
</FilesMatch>
@davidperezgar
Copy link
Author

You should leave in /wp-content/uploads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment