0
Ich versuche, alle http://thesite.com, http://www.thesite.com, https://thesite.com zu https://www.thesite.com umleiten. Aber ich habe das Muster nicht richtig. Was mache ich falsch?Rewrite Regeln für HTTP zu HTTPS Redirect
<rewrite>
<rules>
<rule name="Redirect to HTTPs" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="OFF" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>