title: IIS URL Rewrite Module : Rewrite Appends QueryString
body: <p>I have the following rewrite rule.</p>
  
  <pre><code> &lt;rule name="cheapbastardz.signupcode" stopProcessing="true"&gt;
       &lt;match url="^signup/code/([_0-9a-z-%=\+\$]*)$" /&gt;
       &lt;conditions&gt;
       &lt;/conditions&gt;
       &lt;action type="Rewrite" url="Page.aspx?sc={R:1}" appendQueryString="false" /&gt;
   &lt;/rule&gt;
  </code></pre>
  
  <p>Now when the user click on a buton where the page is posted back the url changes from</p>
  
  <p><a href="http://localhost/CBAanmelding/signup/code/3f69fa28-5c6c-4815-a2b3-3c846651bed9" rel="nofollow noreferrer">http://localhost/CBAanmelding/signup/code/3f69fa28-5c6c-4815-a2b3-3c846651bed9</a></p>
  
  <p>to</p>
  
  <p><a href="http://localhost/CBAanmelding/signup/code/3f69fa28-5c6c-4815-a2b3-3c846651bed9?sc=3f69fa28-5c6c-4815-a2b3-3c846651bed9" rel="nofollow noreferrer">http://localhost/CBAanmelding/signup/code/3f69fa28-5c6c-4815-a2b3-3c846651bed9?sc=3f69fa28-5c6c-4815-a2b3-3c846651bed9</a></p>
  
  <p>I don't want the querystring to appear. How can I prevent this. Thanks in advance.</p>
  
  <p>Gr</p>
  
  <p>Martijn</p>