Ask Leo! by Leo A. Notenboom

Can I get rid of the "This page contains both secure and nonsecure items" warning?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Web

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2  |  3  |  4  |  5  |  6 

you can find a great guide here: http://www.wallpaperama.com/forums/windows-disable-this-page-contains-both-secure-and-nonsecure-items-t274.html

Posted by: servo lotis at September 21, 2006 9:08 AM

There is a really cool fix for this at http://www.htaccesselite.com/htaccess/fix-for-warning-page-contains-secure-and-nonsecure-items-vt129.html

Basically you can use mod_rewrite in an htaccess file to internally redirect https:// to http:// so that you can post https://x.com/image.gif to eliminate the warning message, but the server will internally request http://x.com/image.gif instead!

Posted by: John Duke at November 8, 2006 7:55 PM

Thanks Davido! Worked beautifully on the Google Sitemaps. Every page would bring up the prompt and was very annoying.

Posted by: Greg at February 23, 2007 11:35 AM

Hi. Be sure to check your external stylesheets for non-secure references to images.

For example, we were using a stylesheet (with a https page) that loaded http://www.csun.edu/images/arrow.gif as a separator in a list. Changing that to ../images/arrow.gif made the annoying message go away in IE.

Posted by: Ken at March 7, 2007 11:58 AM

The solution our company has entered into its FAQ is as follows --

CAUSE: The page you are attempting to view is a secured site (note the https in the URL prefix) but it contains unsecured data.

SOLUTION:
1. When you receive the error message, click Yes.
2. In Internet Explorer, go to Tools, Internet Options, Security tab; make sure that in Select a Web content zone... that Internet is selected.
3. Click Custom Level and scroll down about half way to Display mixed content in the Miscellaneous section.
4. Change it from Prompt to Enable.
5. Click OK, Yes, OK. The change should take effect immediately.

Posted by: downhill at April 26, 2007 7:47 AM

This happens if you use secure google, https://mail.google.com/ but if you search the page, there are no "http://" connections present....so as someone pointed out, they must be linking to an "unsecure" image within one of their .js or .css files...

Posted by: Adam at May 27, 2007 11:00 AM

Downhill - you are a star. Thanks mate. Worked perfectly.

Posted by: tfcc01 at June 7, 2007 12:38 AM

Thank you downhill. Now I'll need double times less clicks.

Posted by: Tomas at June 18, 2007 5:17 AM

great help, thank you downhill!

Posted by: timo at July 16, 2007 12:17 AM

Worked like a dream, Downhill, thanks.

Posted by: cresh at July 19, 2007 10:16 AM
Comment Page:  1  |  2  |  3  |  4  |  5  |  6 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

Question? Ask Leo!