-
AuthorPosts
-
July 19, 2017 at 6:08 pm #824095
Not sure how to fix this – but my CSS is broken and my images aren’t loading over https causing mixed content warnings on my checkout page. Is there a guide to fix this?
I’ve tried using the wordpress https plugin (https://wordpress.org/plugins/wordpress-https/#description) without any luck other then it forces a redirect to https for my checkout page (just like it should) but doesn’t fix the elements on the page.
July 20, 2017 at 6:46 am #824389Hey patdavidse,
Thanks for the login details. Could you try updating the theme to the latest version (4.1.2) to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
RikardJuly 20, 2017 at 12:42 pm #824532I have updated to the latest version and it doesn’t appear to have done anything for my issue. Cache has been cleared.
- This reply was modified 7 years, 5 months ago by patdavidse.
July 20, 2017 at 12:48 pm #824540Hi
Without looking at the page and talking from past experience have you manually typed urls in css or code blocks anywhere?
If you have you need to go through and change them all to https://www.bla-bla-bla.com.
I moved a site to https but my custom css was littered with background-image urls that still had http.
You could do a database search to change if you have access.Could you post a link to the page in question? Can do some inspecting then and see where issues are
Thanks
TJ
July 20, 2017 at 1:00 pm #824555Thanks for the reply and offer to help TJ, it’s sincerely appreciated.
I have done a database search and replace as suggested prior to posting, but I haven’t modified any of the CSS or template files, I honestly wasn’t sure where to find everything that made that page.
The offending page is:
July 20, 2017 at 2:57 pm #824614Hmm.
There are are a lot of mixed content warnings on most pages and not just from non https sources.
For example on the home page there is a gif image that is being pulled from this url http://realpointmedia.kinsta.com/thelongevityedge/wp-content/uploads/sites/6/2017/01/longevityedgetransparent.gif
When you open the page from your post the url is https://realpointmedia.kinsta.com/thelongevityedge/checkout/ which then redirects…
Has the site been built somewhere them migrated?Few things spring to mind but without looking at back end it is just guess work
Under settings>general have you set the site urls to https://www.yourwebdomain.com?
There are few things you add add to the htaccess file to force things to load over https at server level.
<IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css)$"> Header set Access-Control-Allow-Origin "https://www.yourwebdomain.com" </FilesMatch> </IfModule>
RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I’d only recommend those two as a last resort. They will work but if done incorrectly it will break your website and unless you have ftp access you wont be able to change the htaccess again.
It may need a moderator to have a look at the backend and see if everything is set correctly. I’m just a humble user ;)
TJ
July 20, 2017 at 3:10 pm #824626TJ!!
I’m running wordpress MU. I had already made the changes to the domain name in the MU settings – what got me was the HTTPS plugin. I only activated it on the site I wanted, I didn’t network activate it. Once I network activated it, and changed the settings within the HTTPS plugin on the MU level it fixed my issues!
Thanks for getting me digging in the right direction, looks like that fixed my issues entirely!
July 20, 2017 at 3:23 pm #824631Ah nice one :)
Many minds make light work.
TJ
July 20, 2017 at 8:24 pm #824848And ran right into another problem lol.
Everything works on my checkout page except the error messages. I cannot proceed to paypal, or enter CC details (auth.net). The checkout page redirects me to the top of the page with a blank red box that is supposed to contain the error of what went wrong, but its..blank.
This started happening after the SSL changes, I just don’t know where to go without knowing what the error message is.
July 21, 2017 at 12:16 pm #825084July 24, 2017 at 9:43 pm #829215Hi,
From what I can see the issue is related to either WooCommerce or the plugin you are using for payments processor.
Try to change that and everything will be back to normalBest regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.