Rewrite – WP includes

Posted in: Getting Started (4) Plugin Options Explained (35) Actions / Filters (30) How To (14)      Options (28)    Rewrite (18)    Directory (3)  

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