-
AuthorPosts
-
January 6, 2016 at 3:42 pm #560575
I’ve enabled HTTPS for checkout in woocommerce and all works well but there is an error of mixed content …
After debug with google chrome javascript console, the problem is the logo image in top menu with this error:
Mixed Content: The page at ‘https://www.testsite.it/checkout/’ was loaded over HTTPS, but requested an insecure image ‘http://www.testsite.it/wp-content/uploads/2016/01/logo_new.png’. This content should also be served over HTTPS.The position in the rendered page is in row 98 src attribute is not served as https…
<div class='container av-logo-container'><div class='inner-container'><strong class='logo'><a href='https://www.testsite.it/'><img height='100' width='300' src='http://www.testsite.it/wp-content/uploads/2016/01/logo_new.png' alt='Netland'/></a>
In other forum the solution was:
In src=”http://……” change it to src=”//….”. remove http: and put only // This means it works for both SSL and non-SSL.But I don’t know where to make this mod for the logo image..
There is any workarounds for this?
Thank you,
Giuseppe- This topic was modified 8 years, 11 months ago by kyagi.
January 6, 2016 at 6:11 pm #560694Hi kyagi!
please refer to this: http://kriesi.at/documentation/enfold/change-the-logo-url-on-some-pages/
Regards,
AndyJanuary 7, 2016 at 2:30 am #560902Hi Andy,
thank you work with the logo but remain the link of the favicon.. in http not in httpsRegards,
GiuseppeJanuary 7, 2016 at 7:31 pm #561462Hi!
Please add following code to Functions.php file in Appearance > Editor and change the URL as needed
add_filter('avf_favicon_final_output','avia_favicon_link'); function avia_favicon_link($icon_link) { $icon_link = '<link rel="icon" href="//kriesi.at/wp-content/themes/kriesi/images/favicon.png" type="image/x-icon">'; return $icon_link; }
Cheers!
YigitNovember 14, 2016 at 7:36 am #711809Thank you for this! Fixed my issue…woo hoo!
November 14, 2016 at 8:45 pm #712145Ok, so while this worked great for my favicon issue…I have run into an issue with layerslider.
I can’t use a Force SSL plugin as WPEngine (my hosting company) says it will cause a redirect.
Here is the error:
Insecure URL: http://1ocyhx43rdrs3ykzqy24apz8-wpengine.netdna-ssl.com/wp-content/uploads/layerslider.custom.css?ver=5.6.5
Found in: https://birdingtrailsalberta.com/Can you help with a work around?
- This reply was modified 8 years, 1 month ago by Yigit. Reason: Removed logins
November 14, 2016 at 9:13 pm #712158Hi!
@brendasarg You are currently using an older version of the theme. Please update Enfold to the latest version 3.8 – http://kriesi.at/documentation/enfold/updating-your-theme-files/ and flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_RefreshIf that does not help, please start a new thread and attach temporary admin logins there. I removed these ones as they are visible to creator of this thread as well :)
Best regards,
YigitNovember 14, 2016 at 9:26 pm #712170Hi!
If we do change the enque of the script, it will brake with an update.
Can you check with WPEngine, what SSL Force plugin they allow?Thanks a lot
Regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.