1

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.

closed as off-topic by Stephen Ostermiller Feb 25 '15 at 16:01

  • This question does not appear to be about webmastering within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • How is this different from your other question? webmasters.stackexchange.com/questions/77546/… – Stephen Ostermiller Feb 25 '15 at 13:53
  • The other question seemed a little vague and I thought perhaps this technique was worth a try. Also, I am a little new to URL Rewrite and hoped someone could show me what I am doing wrong. – ron tornambe Feb 25 '15 at 14:43
  • You can't rewrite a URL from another site. You also need to provide more information about this problem. I have been unable to replicate the problem with Chrome. – Stephen Ostermiller Feb 25 '15 at 14:46
  • You don't see a shield icon on the right side of the address bar? On the home page, there is scrolling area containing links. Do they resolve when clicked? – ron tornambe Feb 25 '15 at 14:53
  • Your site is thebeautyquotient.com ? It doesn't work with HTTPS for me. It has an invalid cert. When I try to browse even with the invalid cert it gives me a blank page. I had done the testing with my own HTTPS site and Chrome. – Stephen Ostermiller Feb 25 '15 at 14:57
1

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.

  • Thanks so much! Saved me a lot of work. There is still a shield on my address bar. Yours too? Clicking it displays a red diagonal line across https: – ron tornambe Feb 25 '15 at 16:01
  • You are not loading jQuery over HTTPS. Here is the warning that Firefox gives me: Loading mixed (insecure) active content on a secure page "http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" – Stephen Ostermiller Feb 25 '15 at 16:05
  • Thanks again. Can you explain how you found that in Firefox? I specified https, but am still seeing the shield, so there must be more occurs somewhere. – ron tornambe Feb 25 '15 at 17:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.