advanced template frontend-backend createurl specific

Hi I want to generate an Link in the navigation from my backend to the frontend. I am able to do so with a redeclaration of urlManager with an extra one called urlManagerFrontEnd. But this just helps me to generate links to the index page

        'urlManagerFrontEnd' => [

            'class' => 'yii\web\urlManager',

            'baseUrl' => '/counselis/frontend/web',

            'enablePrettyUrl' => false,

            'showScriptName' => false,


Now I want to link from my backend to a specific view in my frontend. How can I manage it?

['label' => 'Backend', 'url' => \Yii::$app->urlManagerBackEnd->baseUrl]

Do I have to write a public function compareable to createUrl now?

Problem solved here: