Hi! We are running the WP discourse plugin. Great integration btw! Thanks for that.
One small problem pops up: it loads the profile picture as http instead of https. (see: https://www.fit.nl/kijkje-keuken/tom-wanders)
This leads to an incorrect SSL-certificate. Is there a known fix for this?
Thanks in advance
Are both sites https? Is force https enabled on the discourse side?
Ah perfect, thanks for your answer! I forced it now in https (option was off). Still a http result, maybe cache?
Both sides are https
https://forum.fit.nl & https://www.fit.nl/kijkje-keuken/tom-wanders
Do you have the https URL set in the Discourse URL option on WordPress? It is used for converting any relative URLs that are returned from Discourse to Absolute URLs.
Thanks Simon! Yes i have the |Discourse URL| -> https://forum.fit.nl
I checked and when I look at an avatar on the WP side, I get an https link to the discourse avatar.
But the image is still http source instead of https.
Oh. You’re right. I swear that I’d seen an avatar/profile image as https, but now I’m seeing http.
src attribute for the avatars is set by the data that’s returned by Discourse. If you have setup a webhook for syncing comments between Discourse and WordPress, you will be getting comment data that has been cached on WordPress until a new comment is added to a topic. Hopefully that’s the problem. Let us know if this doesn’t get resolved.
Thanks @simon & @pfaffman for the great help