Hello im having trouble forcing https with www on our website. Can anyone help me. I just use to write the code on web.config.
Here is my URL Rewrite as right now
<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="Permanent" /></rule> </rules></rewrite>
but it doesn't force www when i try to access the site using https://site.com , anyone can help me with this, I can't find a solution on the net. Thanks