Tag Archives: protocol relative URL

Protocol relative URLs

Many times we have seen warnings similar to “This page contains both secure and nonsecure items” or “This page has insecure content.”. This happens when we are viewing a HTTPS site and some content on the site is loaded from HTTP. So when we try to view a site say https://www.example.com and we get this warning, that means some content on the site is getting loaded from a non https site, like http://www.example.com. These warning messages can be fixed by using protocol relative URLs.
Read more »