WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

What is /wp-includes? Should it be closed?

OpalescentGames

New member

0

0%

Status

Offline

Posts

26

Likes

0

Rep

0

Bits

140

3

Months of Service

0%
As far as I understand, some data is being pulled from this folder to use in articles, etc. How do I block access to this folder? Will there be any negative impact when I block it? I added the following code to .htaccess, but I'm not completely sure if I did it correctly. 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]
 

249

6,622

6,642

Top