http to https redirect breaking Share Buttons in Chrome on HTTP sites
-
My share buttons have vanished and looking at the console I am seeing this:
“XMLHttpRequest cannot load https://sumome.com/api/load/. The request was redirected to ‘https://sumome.com/api/load/’, which is disallowed for cross-origin requests that require preflight.”
This is in Chrome 44.0.2403.157 (64-bit) on Mac OS X 10.10.5 (14F27)
It looks like the plugin is outputting “//load.sumome.com/” which is nice as it means the browser will add http or https but it is pointless if you then redirect http to https I guess.
If I access my site via https is it fine, if I access my site via HTTP it is not, i.e.,
https://www.unitedworldschools.org/beyond-the-bike-cycle-cambodia-2016-in-support-of-uws/ shows the buttons (and blue badge for me and has no sum me related console errors).
https://www.unitedworldschools.org/beyond-the-bike-cycle-cambodia-2016-in-support-of-uws/ does not show the buttons or badge and has the aforementioned error in the console.
I’m guessing you can fix this by using “https://load.sumome.com/” in the plugin code as I don’t imagine browsers will object to using https code on an http page
- The topic ‘http to https redirect breaking Share Buttons in Chrome on HTTP sites’ is closed to new replies.