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?
Post your comments / questions
Recent Article
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
- FieldError: Cannot resolve keyword 'id' into field in Django project
- How to hide the ID field from the Django admin?
- It is impossible to add a non nullable field without specifying a default. Django error
Related Article