WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

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

OpalescentGames

New member

0

0%

Status

Offline

Posts

26

Likes

0

Rep

0

Bits

140

3

Months of Service

0%
To the best of my understanding, some data is being pulled from this folder to use in articles, etc. How can I block access to this folder? Will it have any negative consequences when blocked? I added the following code to .htaccess, not sure if I did it correctly as I don't have full knowledge: 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