title: IIS URL Rewrite + Redirect + does not match the querystring
body: <p>I need to redirect to another website when the url contains www. and the query-string does not match the specfic value.  I am always getting redirected irrespective of the condition</p>
  
  <pre><code> &lt;rewrite&gt;
                  &lt;rules&gt;
                      &lt;rule name="Redirect to Landing Page" stopProcessing="true"&gt;
                          &lt;match url="(.*)" /&gt;
                          &lt;conditions logicalGrouping="MatchAny"&gt;
                              &lt;add input="{HTTP_Host}" pattern="www.dev.MyWebpage.com/MCPrivacyNotice" negate="true" /&gt;
                          &lt;/conditions&gt;
                          &lt;action type="Redirect" url="https://www.myWebPage.com" /&gt;
                      &lt;/rule&gt;
                  &lt;/rules&gt;
              &lt;/rewrite&gt;
  </code></pre>