-
Author
-
January 6, 2016 at 20:17 #96727polykromParticipant
Hi ,
I’m currently test my website over https and it seems i get insecure content because of srcset http generated by shorcodes .
What can i do to avoid this and automatically have https links to these images ?
thanks a lot
January 6, 2016 at 21:03 #96738sharmstrModeratorKleo doesnt use hardcoded src files. The most common issue with broken images after switching to https is server caching or not purging your cdn if you have one in place.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 21:25 #96741polykromParticipantRe,
nops, i don’t tell that Kleo hardcode the src , but i have different images URLs in srcset that are not SSL … and the code is produced by KLEO shortcodes …
January 6, 2016 at 21:37 #96742sharmstrModeratorWhat I’m saying when I said “hardcoded”… Kleo doesnt save hardcoded links. Even in its shortcodes. It uses media IDs and passes those IDs to wordpress functions that will correctly use https.
I’ve switched many sites from http: to https:. I’ve helped many people here with your same issue. 99% of the issues were caused by some sort of server caching.
If you look at the errors your home page is throwing, they are 404 errors, not mixed content errors. In other words, they cant be found via http or https because they dont exist.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 21:48 #96746polykromParticipantmmmhhh… i don’t think it’s cached related ,
check this :
I have the main image in https and the srcset in http …
where does not come from ?
Thanks a lot !
January 6, 2016 at 21:53 #96747sharmstrModeratorNothing is attached, so I cant understand what you’re referring to.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 21:54 #96748polykromParticipantSorry 😉
check this :
COPY CODE<img src=« https://www.loop2buy.com/wp-content/uploads/2016/01/bar-180x180.gif" class="attachment-shop_thumbnail size-shop_thumbnail wp-post-image" alt="bar" srcset="http://www.loop2buy.com/wp-content/uploads/2016/01/bar-150x150.gif 150w, http://www.loop2buy.com/wp-content/uploads/2016/01/bar-180x180.gif 180w, http://www.loop2buy.com/wp-content/uploads/2016/01/bar-300x300.gif 300w" sizes="(max-width: 180px) 100vw, 180px" width="180" height="180">
January 6, 2016 at 22:11 #96753sharmstrModeratorWhat shortcode is generating that?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:15 #96754polykromParticipantThere are several ,
The KLEO tabs Shortcode, The Woocommerce Shortcode and Woocommerce product in Card …
Maybe other too…
Do you see a solution ?
Thanks 😉
January 6, 2016 at 22:19 #96755sharmstrModeratorI think I see what’s going on now. Give me a second to figure it out.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:25 #96758sharmstrModeratorI dont think it really has anything to do with shortcodes from what I can see. It appears to be isolated to the quick view of a product image. Would you say that’s correct? If not, then please link to an example on your site where this isnt the case.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:26 #96759sharmstrModeratormeaning.. quick view is the issue even within shortcodes… if that makes more sense.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:27 #96760polykromParticipantRe,
It was the same on the homepage … i had to hardcode the https image links in order for it to work, but the shortcodes failed…
And the problem is the same with Woocommerce widgets and shortcodes…
So ??
January 6, 2016 at 22:29 #96761sharmstrModeratorCan you give me admin access to your site?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:34 #96765sharmstrModeratorI set that as private for you 🙂
also, you keep putting an S in your url. lol
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:52 #96770sharmstrModeratorI think the issue is the force ssl plugin. Why are you using that instead of changing your urls to https in Settings > General?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:57 #96771sharmstrModeratorhere is why I think that. the single image shortcode (which is a VC shortcode, not a kleo shortcode by the way) and many others uses wp functions to get your sites url and to probably set that srcset parameter. Since you still have your wp settings urls set to http and not https, they are producing http srcset parameters. Make sense?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 6, 2016 at 22:59 #96772polykromParticipantMmmhhh…
yes, it makes sense, i will try to set my root URL to https in the settings , maybe it could solve the issue
thanks a lot for your help !!
chusss
François
January 6, 2016 at 23:02 #96773sharmstrModeratorlet me know how that goes. its nice to learn something new around here instead of answering the same old questions. LOL
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 7, 2016 at 06:33 #96825polykromParticipantRE 🙂
Woow, everything works nice now, had to change the WP SITE URL and WP HOME to https … was just that…
thanks a lot for your great support !
Cheers 😉
François
January 7, 2016 at 06:54 #96829sharmstrModeratorAwesome. Going to move this since it isnt a bug.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.