<rewrite>
<rules>
<rule name="Redirect to HTTPS" stopprocessing="true">
<match url=".*">
<conditions>
<add input="{HTTPS}" pattern="^OFF$">
<add input="{HTTP_HOST}" pattern="^www\.yourdomain\.com$">
<add input="{HttpsRedirects:{REQUEST_URI}}" pattern="(.+)">
</add></add></add></conditions>
<action appendquerystring="false" redirecttype="SeeOther" type="Redirect" url="https://{HTTP_HOST}/{C:1}">
</action></match></rule>
</rules>
<rewritemaps>
<rewritemap name="HttpsRedirects">
<add key="/content_common/test.aspx?id=b1909882-22c1-4176-8012-9417c50b0276" value="/content_common/test.aspx?id=b1909882-22c1-4176-8012-9417c50b0276">
</add></rewritemap>
</rewritemaps>
</rewrite>