I’m having some difficulties getting the my plugins to work when i move the wp-content folder to it’s own directory. The directory structure I’m using is:
wp-content (themes, plugins, uploads
wp (contains wordpress install)
I’ve defined the new local of the wp-content folder in the wp-config file as follows:
define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content’ );
define( ‘WP_CONTENT_URL’, ‘http://lab.silverchairdev.co.uk/wp-content’);
define( ‘WP_PLUGIN_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/plugins’ );
define( ‘WP_PLUGIN_URL’, ‘http://lab.silverchairdev.co.uk/wp-content/plugins’);
define( ‘PLUGINDIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/plugins’ );
Any help would be much appreciated.
- The topic ‘Moving wp-content directory on 1and1 hosting’ is closed to new replies.