Documentation

Rewrite – Plugins

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

Within a WordPress install the Plugins are usually located within -domain-name-/wp-content/plugins This functionality provide an easy way to virtually change the path to something else.

http://-domain-name-/wp-content/plugins/jetpack/

New Plugins Path

Use any alphanumeric symbols for this field which will be used as the new slug for the plugins folder. Presuming an apps slug is being used, all plugins urls become to something like this:

http://-domain-name-/apps/jetpack/

Block plugins URL

Old url’s structure are still being available. To blow those and allow only the new links, this options need to be set as Yes.

New Paths for individual plugins

Any active plugins on the site can be mapped to use a different slug. For example WooCommerce use something like this:

http://-domain-name-/wp-content/plugins/woocommerce/

or in case New Plugins Path is active

http://-domain-name-/apps/woocommerce/

Filling in such individual plugin path will modify the urls to new slug. For example, using woo-app the updated link become

http://-domain-name-/woo-app/

Any files within the plugin will use the above url

http://-domain-name-/woo-app/assets/css/woocommerce-layout.css
http://-domain-name-/woo-app/assets/js/frontend/add-to-cart.min.js
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Scroll to top