December 4th, 2013, 01:42 PM
What's with: "Do you want to view only webpage content that was securely delivered?"
What's with: "Do you want to view only the webpage content that was securely delivered?" dialog box, that goes on to say:
"This web page contains content that will not be delivered using a secure https connection, which could compromise security for the entire webpage".
I have a valid SSL, yet when the webpage is viewed, with https at the beginning of the url, images are missing, etc., but when viewed, with http at the beginning of the url, the page looks as it was designed to look.
What's the remedy?
December 4th, 2013, 01:55 PM
That's because you have absolute image links like:
in your HTML. You probably have the same deal going with <script>, <stylesheet> and <a href=> tags as well.
Therefore, when you're requesting a https:// page, the browser will see that it needs to switch to http to fetch some of the resources on the page and throw up that warning message.
What you should do is set up your images and hrefs without the domain name and protocol, like this:
That way the browser will just use http:// or https:// to fetch the images, depending on whether you're viewing the http or https page. Do the same thing with your other script, stylesheet and a tags as well.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo