Documentation

Rewrite – WP includes

Posted in: Getting Started (4) How To (15) Plugin Options Explained (37) Actions / Filters (31)      Options (28)    Rewrite (18)  

As default a WordPress installation contain a wp-include folder which store files and resources used on themes and plugin. This section allow a way to change this slug from any links on front side html.

New Includes Path

A resource file loaded from default wp-include folder appear like this:

<script type='text/javascript' src='https://-domain-name-/wp-include/js/jquery/jquery.js'></script>

After filling in this option with something else e.g. resources the links will change to this:

<script type='text/javascript' src='https://-domain-name-/resources/js/jquery/jquery.js'></script>

Block wp-includes URL

After changing the default wp-include to something else, the old urls are still accessible. This provide a way to block all old urls and allow only updates ones.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Scroll to top