Helpcenter +918010117117" [email protected]
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Why HTTPS do not work on the static page of your site?

At times, you will see HTTPS on the home page. However, when you will go to any static page, it will show the page is unsecure. Although the SSL certificate is installed successfully, you may see this error. 

This issue happens due to the mix match of HTTP and HTTPS. When you built websites served over SSL (HTTPS), then any reference in your code that is not prefaced with HTTPS will throw up security warnings - other than links. This is due to using absolute HTTPS links to reference resources such as images. In simple words, the issue is that your page is serving product image links from an HTTP location as opposed to HTTPS. 

How to fix this issue?

When you are facing this issue on the static page, then you can console check that page and replace the content that is causing the issue. For example if the image used in your page is causing the issue, then the image tag on your product page will look like:

<img src="">

That http in there means that the image is NOT served securely. So, to resolve this issue you could use any of the following to serve the images securely:

  • Link to https explicitly: 
    <img src="">
  • Use relative linking to images on your own domain: 
    <img src="/images/image.jpg">
  • Use protocol relative linking to use images from other domains: 
    <img src="//">

Now, the explicit https will always serve the image securely even when the page is not served securely. While relative linking will serve the image securely only if the page is served securely.