Home » Wordpress » How to Moving WordPress Plugin Folder

If you don’t want to change the location of the entire wp-content folder in wordpress but just want to move the plugins folder then you can change this location the same as above.

For the plugin folder location we need to define the variable WP_PLUGIN_DIR.

define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/content/wp-content/plugins' );

The same as the wp-content folder you can change the URL of the plugin folder for the variable WP_PLUGIN_URL.

define( 'WP_PLUGIN_URL', 'http://example/blog/content/wp-content/plugins');

The problem with doing this for plugins is that there is another variable which can be used by some plugin developers…PLUGINDIR. Therefore you need to make sure that you change this too.

define( 'PLUGINDIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/content/wp-content/plugins' );

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.