Skip to content

Instantly share code, notes, and snippets.

@deeman
Created March 18, 2019 10:32
Show Gist options
  • Select an option

  • Save deeman/dbaf2a3722131f9e3c9c11f4af34cfa6 to your computer and use it in GitHub Desktop.

Select an option

Save deeman/dbaf2a3722131f9e3c9c11f4af34cfa6 to your computer and use it in GitHub Desktop.
[WordPress][Security] Deny PHP uploads
#Deny PHP uploads
#Create A .htaccess-file in dir /wp-content/uploads AND /wp-includes
#Copy/Paste code below and save:
<Files *.php>
deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment