Anyone know how to force URL with SSL with www.
<rewrite>
<rules>
<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions><add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://www.site.com/{R:0}" redirectType="SeeOther" />
</rule>
</rules>
</rewrite>
Please check the sample.
http://site.com to https://www.site.com http://www.site.com to https://www.site.com
But when https://site.com to https://site.com it doesn't add www on the site URL. Anyone can help me.