DISPLAYING HTTP CONTENT IN HTTPS PAGES

May 10, 2016   /   by Marco  / Categories :  Technology, website, Websites

This week we had to look at an issue with displaying HTTP (insecure) content in a HTTPS (secure) page. According to a number of sites, different browsers by default don’t allow this as the HTTPS page is secure and displaying non-secure content is a no-no. This is called displaying MIXED CONTENT.

The error message you would see in the browsers developer console would be something like:

Mixed Content The page at https://website was loaded over HTTPS but requested an image http://website/image.gif This content should also be served over HTTPS.

The recommended solution is to make sure that all the HTTP content is changed to HTTPS so that everything on the HTTPS page is encrypted. This is a very tedious task. The way I solved this issue was to include a special meta tag at the header of the page to upgrade all HTTP links to HTTPS automatically.

The one I used was:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
DISPLAYING HTTP CONTENT IN HTTPS PAGES

DISPLAYING HTTP CONTENT IN HTTPS PAGES

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


USING THIS AI TOO BOOST YOUR SOCIAL MEDIA GAME

USING THIS AI TOO BOOST YOUR SOCIAL MEDIA GAME

A strong social media presence is essential for individuals and businesses alike. With the ever-growing number of users on various platforms, it can be daunting to stand out and create engaging content that captivates your audience. That’s where Marky comes in – a revolutionary tool that harnesses the power of artificial intelligence to help you […]

read more
HOW TO USE KATALIST AI TO CREATE AWESOME STORYBOARDS

HOW TO USE KATALIST AI TO CREATE AWESOME STORYBOARDS

Creating a compelling and visually appealing storyboard is crucial for any creative project, whether it’s a film, television show, or advertisement. However, the traditional process of storyboarding can be time-consuming and labor-intensive. That’s where Katalist AI comes in. This innovative tool combines the power of artificial intelligence with the creativity of human input to revolutionize […]

read more

Like our Page