How can I change where WordPress Plugins are installed?
How can I change where Plugins are installed?
Just as you may want to change where wp-content resides, you can do the same with your Plugins folder.
You will need FTP/SFTP/SSH access to your server to complete this.
Step 1) Log in to your server with FTP/SFTP/SSH
Step 2) Locate and open wp-config.php
Step 3) Define the two constants as below, being sure to change the specifics for your website
define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/path/to/my/wp-content/plugins' ); define( 'WP_PLUGIN_URL', 'http://www.mywebsite.com/path/to/my/wp-content/plugins' );
Step 4) Save your changes to wp-config.php