Skip to content

Instantly share code, notes, and snippets.

@sergioccrr
Created August 22, 2014 10:18
Show Gist options
  • Save sergioccrr/d02515cc9c5e8db03a0e to your computer and use it in GitHub Desktop.
Save sergioccrr/d02515cc9c5e8db03a0e to your computer and use it in GitHub Desktop.
Bloquear acceso a scripts en wp-includes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-includes/js/tinymce/ - [S=1]
RewriteRule ^wp-includes/.*\.(php|rb|py|pl)$ - [F,L,NC]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment