Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
All Omega themes free and paid I have tested give me the IE security warning of secure and insecure content. My site does not use any of the https modules, but I use this I got from a free service on the Internet:
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
php_value session.cookie_secure 1
Can someone please help me fix this so I can get rid of Internet Explorer security warning? The odd thing I don’t have the same problem on the exact same site with other themes. This only affects Omega themes
Comments
Comment #1
FranCarstens CreditAttribution: FranCarstens commentedFrom what I could find the only item that loaded as "not secure" was this line:
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
in the file html.tpl.php
I changed it to https and it now loads fine. Hope that helps you.
Comment #2
fubhy CreditAttribution: fubhy commentedInstead, change it to
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
Comment #3
steinmb CreditAttribution: steinmb as a volunteer commented