title: Yii2 Links between Frontend and Backend (advanced template)
body: <p>If i need add links to frontend stuff from backend part in menu(or from backend to admin), how i can do this without hardcode?
  This:</p>
  
  <pre><code> \Yii::$app-&gt;request-&gt;BaseUrl 
  </code></pre>
  
  <p>returns path from parents dir </p>
  
  <pre><code>/sitename/backend/web
  /sitename/frontend/web
  </code></pre>