By adding the following lines in wp-config.php
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/dsm-content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/dsm-content');
define( 'PLUGINDIR', 'dsm-content/plugins' );
define( 'SUNRISE', 'on' );
it fixes the php errors but I get "This web page has a redirect loop"