title: how to config yii2 urlManager rules with aliases and $_GET parameter
body: <p>for my current (advanced) yii2-based project i just need one controller (SiteController). So there is no need to show it in the url. Thats why i added this rule to the frontend config:</p>
  
  <pre><code>'urlManager' =&gt; [
      'rules' =&gt; array(
          '&lt;alias:product|contact|about&gt;' =&gt; 'site/&lt;alias&gt;',
      ),
  </code></pre>
  
  <p>This is working fine and <em>localhost/product</em> points to <em>localhost/site/product</em>.</p>
  
  <p>Of course, i activated prettyUrl and added this default rules to the common config:</p>
  
  <pre><code> 'rules' =&gt; array(
                  '&lt;controller:\w+&gt;/&lt;id:\w+&gt;' =&gt; '&lt;controller&gt;',
                  '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\w+&gt;' =&gt; '&lt;controller&gt;/&lt;action&gt;',
                  '&lt;controller:\w+&gt;/&lt;action:\w+&gt;' =&gt; '&lt;controller&gt;/&lt;action&gt;',
              ),
  </code></pre>
  
  <p>Now i want to access a GET parameter like this: <em>localhost/product/productname</em>. But i get the error: </p>
  
  <blockquote>
    <p>Unable to resolve the request "product"</p>
  </blockquote>
  
  <p>but <em>localhost/site/product/productname</em> is working properly...
  The "productname" should be $_GET['id']. What do i have to change to make this happen?</p>
  
  <p>Thanks!</p>