Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 6/8/2017(UTC) Posts: 2
|
Hey, I just launched a new site with Hotcakes and saw that the page with the product details did not load as secure. I checked the code, and it appears the additional images loads with the http:// prefix instead of https. Has anyone else noticed this? I checked out a few sites in the showcase and saw the same thing on those, so I don't think it's a problem with my customization. This appears to affect any value that is populated using @altImg. Does anyone have any suggestion where to go to fix this? Edited by moderator Tuesday, October 22, 2019 1:25:20 PM(UTC)
| Reason: Updated the title for better SEO
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/2/2018(UTC) Posts: 1
Was thanked: 6 time(s) in 5 post(s)
|
Hi Donald,
I've come across a similar issue, I couldnt find a fix so I just wrote on the end of the image tag .Replace("http:", "https:")
<a href="@altImg.MediumlUrl.Replace("http:", "https:")"> <img src="@altImg.MediumlUrl.Replace("http:", "https:")" alt="@altImg.MediumlAltText" /> </a>
Seemed to have worked. Im sure there are better solutions.
|
 1 user thanked Gilderroot for this useful post.
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 6/8/2017(UTC) Posts: 2
|
Thank you Gilderroot! That did the trick. All pages on my site are displaying as secure now.
|
|
|
|
Rank: Administration
Groups: Administrators, HCC-Employee-Store-Manager, HCC-Employee-Support, HCC-Partner, Moderators, Partners, Registered, Registered Users, Subscribers Joined: 12/22/2016(UTC) Posts: 342
Thanks: 78 times Was thanked: 59 time(s) in 57 post(s)
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.