Changes

Jump to navigation Jump to search
306 bytes added ,  14:38, 22 May 2017
no edit summary
Line 16: Line 16:     
== Block Access to Subfolders wp-includes of Wordpress ==
 
== Block Access to Subfolders wp-includes of Wordpress ==
 +
<pre>
 +
<IfModule mod_rewrite.c>
 +
RewriteEngine On
 +
RewriteBase /
 +
RewriteRule ^wp-admin/includes/ - [F,L]
 +
RewriteRule !^wp-includes/ - [S=3]
 +
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
 +
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
 +
RewriteRule ^wp-includes/theme-compat/ - [F,L]
 +
</IfModule>
 +
</pre>

Navigation menu