Mobile app version of vmapp.org
Login or Join
Deb1703797

: Is it possible to redirect https to http? I am working on a website with Comodo SSL installed. There are http: links to pages that Chrome and IE-11 complain are not secure and block access

@Deb1703797

Posted in: #Https #Iis #UrlRewriting

I am working on a website with Comodo SSL installed. There are http: links to pages that Chrome and IE-11 complain are not secure and block access to them unless users explicitly allow them when prompted.

Although some of the links do have https equivalents, others (HuffingtonPost.com) do not. The HuffPost links are articles written by the site owner, and since I have no control over HuffPost, I believe my only recourse it to copy the articles over to his blogger site. UGH!

There is one important site I do have control over, and would like to redirect the links (that I will change from http to https) to the site without installing SSL. I tried using URL Rewrite to perform the https to http redirection, but even though the pattern matches it (https://thebeautyquotient.com/) the browser displays "Your connection is not private" showing https with a red diagonal line through it. I assume the URL redirection isn't working. Here's the rule:

<rule name="https to http" patternSyntax="Wildcard" stopProcessing="true">
<match url="https*" />
<action type="Redirect" url="http://www.{HTTP_HOST}/{R:1}" />
<conditions>
<add input="{ALL_HTTP}" pattern="off" />
</conditions>
</rule>


Note I tried using Rewrite as well as redirect and also removing the condition.

Thanks for taking the time reading trough this question.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

The problem with your site is not HTTPS. You have malformed HTML tags near your links

<li <a itemprop="url" href="http://www.huffingtonpost.com/robert-Tornambe-md/melanoma_b_850558.html" target="_blank" class="articleLink"><img itemprop="thumbnailUrl" src="images/huffpost.png" alt="huffpost-article: Malignant Melanoma: The Silent Killer by Dr. Robert Tornambe" />


Should be:

<li><a itemprop="url" href="http://www.huffingtonpost.com/robert-Tornambe-md/melanoma_b_850558.html" target="_blank" class="articleLink"><img itemprop="thumbnailUrl" src="images/huffpost.png" alt="huffpost-article: Malignant Melanoma: The Silent Killer by Dr. Robert Tornambe" />


You are missing the closing angle bracket (>) on your li tag. I cannot click on your links because of that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme