title: user friendly URL in yii2 not working
body: <p>user friendly URL in yii2 not working. i can't figure out why.... here is my code from project</p>
  
  <p>eshop/.htaccess</p>
  
  <pre><code>Options +FollowSymLinks
  IndexIgnore */*
  RewriteEngine on
  AddDefaultCharset utf-8
  
  RewriteCond %{REQUEST_URL} !^/(web)
  RewriteRule ^assets/(.*)$ /web/assets/$1 [L]
  RewriteRule ^css/(.*)$ /web/css/$1 [L]
  RewriteRule ^fonts/(.*)$ /web/fonts/$1 [L]
  RewriteRule ^js/(.*)$ /web/js/$1 [L]
  RewriteRule ^images/(.*)$ /web/images/$1 [L]
  RewriteRule (.*)$ /web/$1
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /web/index.php
  </code></pre>
  
  <p>eshop/web/.htaccess</p>
  
  <pre><code>RewriteBase /
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule . index.php
  </code></pre>
  
  <p>eshop/config/web</p>
  
  <pre><code>....
              'urlManager' =&gt; [
                  'enablePrettyUrl' =&gt; true,
                  'showScriptName' =&gt; false,
                  'rules' =&gt; [
                      'category/&lt;id:\d+&gt;/page/&lt;page:\d+&gt;' =&gt; 'category/view',
                      'category/&lt;id:\d+&gt;' =&gt; 'category/view',
                      'product/&lt;id:\d+&gt;' =&gt; 'product/view',
                      'search' =&gt; 'category/search',
                  ],
              ],
      ...
  </code></pre>
  
  <p>it's working without user friendly URL <a href="http://yii2.loc/eshop/web/index.php?r=category%2Fview&amp;id=4" rel="nofollow noreferrer">http://yii2.loc/eshop/web/index.php?r=category%2Fview&amp;id=4</a> but when i use user friendly URL, url become like this <a href="http://yii2.loc/eshop/web/category/4" rel="nofollow noreferrer">http://yii2.loc/eshop/web/category/4</a> but it's not working. I just got <strong>Object not found!</strong> help me please </p>