// Moving the wp-content directory define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/extensions' ); define( 'WP_CONTENT_URL', 'http://mywebsite.com/extensions' ); // Moving the plugins directory define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/extensions/plugins' ); define( 'WP_PLUGIN_URL', 'http://mywebsite.com/extensions/plugins' ); define( 'PLUGINDIR', dirname(__FILE__) . '/extensions/plugins' ); // Creating an additional theme directory register_theme_directory( dirname( __FILE__ ) . '/themes-dev' ); // Moving the uploads directory define( 'UPLOADS', 'uploads' );