go to website config file under configuration paste the same code <system.webServer>
<?xml version="1.0"?>
<configuration>
</configuration>
<system.webServer>
<rewrite>
<rules>
<clear/>
<rule name="Redirect to https" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true"/>
</conditions>
<action type="Redirect" redirectType="Found" url="https://www.yoursitename.in/{R:1}"/>
</rule>
</rules>
</rewrite>
</system.webServer>
No comments :
Post a Comment