jeudi 17 janvier 2019

Facing issue in redirection from https to http

I am facing issue when I used to redirect from https to http.

I had hosted my website http://letsfindcourse.com on godaddy. I am not using SSL certificate. So when I used https instead of http, I am getting privacy error (Your connection is not private). So I tried to redirect https to http but my code is not working.

<rule name="Redirect to http" stopProcessing="true">
    <match url="(.*)" />
    <conditions>
        <add input="{HTTP}" pattern="off" ignoreCase="true" />
    </conditions>
    <action type="Redirect" url="http://{HTTPS_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>

So please suggest me how to resolve this problem.




Aucun commentaire:

Enregistrer un commentaire