title: Yii2 redirect 404 Page not found
body: <p>I have custom page in view/stock/three.php ( which I make) , I render it in StockController , and I try to open it from  view/site/shop.php with </p>
  
  <pre><code>&lt;div class="pager "&gt;&lt;a href="&lt;?= Yii::$app-&gt;urlManager-&gt;createUrl(['/stock/three']) ?&gt;"&gt;3&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>but I get <strong>Not Found (#404) Page not found.</strong>  . ( I didnt forget to set "use Url")
  I try also to redirect it from SiteController with : </p>
  
  <pre><code>public function actionThree() {
       return $this-&gt;redirect(['/stock/three']);
  }
  </code></pre>
  
  <p>but also didnt work and still got <strong>Error code 404</strong></p>