Skip to content

Instantly share code, notes, and snippets.

@zet-snippets
Created November 20, 2014 10:29
Show Gist options
  • Save zet-snippets/525ed056ab958f9e6545 to your computer and use it in GitHub Desktop.
Save zet-snippets/525ed056ab958f9e6545 to your computer and use it in GitHub Desktop.
.htaccess - log und txt blockieren
# To be placed in
# /wp-content/.htaccess
<FilesMatch "\.(log|txt)$">
Order Allow,Deny
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment