In this tutorial I will show you how to redirect http to https in Godaddy Plesk/Windows.
If you added SSL secure certificated to your website. You need to redirect the visitors from http version to the secured version (HTTPS) to ensure their information is secured.
Many of them getting struggled to redirect http to https in godaddy windows cpanel. So this tutorial may help.
Redirect http to https cpanel/windows hosting
If you are a windows based user you can handle the redirection using web.config file.
In web.config under the system.webserver tag.
COPY and PASTE the Following code:
<system.webServer>
<rewrite>
<rules>
<rule name="HTTPto HTTPS redirect" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true"/>
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}"/>
</rule>
</rules>
</rewrite>
</system.webServer>
How to get free trusted ssl certificate for Godaddy domains?