سلام
من از کد زیر استفاده میکنم ولی ریداکت نمیشود

کد PHP:
<rewrite>    <rules>        <rule name="HTTP Redirect to HTTPS" enabled="true" stopProcessing="true">            <match url="(.*)" ignoreCase="false" />            <conditions>                <add input="{HTTPS}" pattern="off" />            </conditions>            <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />        </rule>    </rules></rewrite