1. Home
  2. Prices
  3. Guided Tour
  4. New Shop
  5. Shop Review
  6. Ecommerce Marketing
  7. Ecommerce TV
  8. Magento Developers
  9. Portfolio
  10. Blog
  11. Contact
Home > Ecommerce Security, Magento, Magento Tutorials, SSL Certificates > Magento – SSL Secure Information

Magento – SSL Secure Information

Posted on: 4th Jun 2009 By: Adam Moss Leave a comment 1 Comment

Magento developers who have just set up an SSL on their shop may find the following annoying message appear in Internet Explorer browsers:

nonsecure

“this page contains both secure and none secure information, do you want to secure the none secure information”

This occurs because the parts of your site that now appear under a secure ‘https’ domain, are probably still linking to parts of your site that are unsecure ‘http’. This is very likely to happen if you’ve just spent a while building a site and you’ve got to the point where it’s about to go live, therefore you want a security certificate to give customers confidence.

The solution I found was to rename all references to the ‘http://www.example.com‘ domain and simply change those references to look like this: ‘//www.example.com‘ .Items should still show up properly, but you’ve removed the part that tells the certificate is from an unsecure part of the site.If you’ve linked up JavaScript files, CSS, images or other items in thie old way it will cause the message to appear.

You don’t need to change links to use this format. This should still work fine: <a href=”http://www.example.com”>Example</a>

But, you do need to use it in this situation: <img src=”//www.example.com” />

  • Twitter
  • AIM
  • WordPress
  • LinkedIn
  • Facebook
  • StumbleUpon
  • Technorati Favorites
  • Delicious
  • Ping
  • Digg
  • Bebo
  • Reddit
  • MySpace
  • NewsVine
  • Google Bookmarks
  • Sphinn
  • Propeller

One Response to “Magento – SSL Secure Information”

  1. John

    Hi Adam,

    I am facing the same problem on my magento site >> https://www.quantum-wireless.com/
    Not only are the pictures not loading, the CSS too fails to load. Please help on how to solve this issue. Thanks in Advance!

    John

Post A Comment