title: Yii2 urlManager rule for `&id=`
body: <p>I'm trying to configure the Yii2 URL Manager.</p>
  
  <p>Now my config file looks like this:</p>
  
  <pre><code>'urlManager' =&gt; [
    'enablePrettyUrl' =&gt; true,
    'showScriptName' =&gt; false,
    'rules' =&gt; [
      '&lt;controller:\w+&gt;/&lt;id:\d+&gt;' =&gt; '&lt;controller&gt;/view',
      '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\d+&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>With and without rules i always get this route: </p>
  
  <pre><code>/frontend/web/user/default/profile?id=1
  </code></pre>
  
  <p>How can i set up rules for url with <code>?id=</code> so that they are like:</p>
  
  <pre><code>/frontend/web/user/default/profile/1
  </code></pre>