Support » Plugin: Geo Mashup » No SSL support?

  • Resolved Bence Ur


    I installed the Let’s Encrypt SSL certificate so my website is accessible under https://
    But then this plugin creates mixed content warning, because for example when using the OpenStreetMap or Leaflet providers, the plugin makes insecure calls. But OpenStreetmap supports https, so the plugin should always use https calls by default. Or I am doing something wrong.

    SSL is a must have nowadays for all websites, so this plugin should support SSL. It is very unfortunate because the plugin is great otherwise. How to enable SSL support in Geo Mashup plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m using this plugin extensively and just recently switched to Cloudflare’s free SSL.

    I see no mixed content warning anywhere in my site. Are you sure it’s coming from this plugin?

    I found a solution: I switched to Google Maps from OpenStreetmap, because Google Maps is using SSL by default, so it does not trigger mixed content warning in the browser.

    OpenStreetMap has both no SSL and SSL APi, the problem is that if you use the OpenStreetMap maps, then the plugin links to the http:// version of OpenStreetmap, that is the problem. It should link to the https:// OpenStreetMap links by default, so that it will work correctly both in no SSL and SSL versions.

    Nowadays the cpanel hosting provides all support AutoSSL and Google recommends SSL everywhere, so it is an important issue.

    As a quick fix, it might be possible to search the plugin’s code for all instances of http:// , locate the OSM tile paths and change them to https:// .

    With some PHP work, one might also find a way to put a function or filter in the theme’s functions.php (the place to store user’s custom enhancements) that will make the plugin load https:// instead of http:// . Even I’m new to PHP so can’t suggest a solid solution for now.

    yes there’s a dirty fix for this i’ve discovered. we were using the ‘leaflet’ maps and were getting mixed content warnings.

    i realise this plugin isn’t really being supported these days, but if you’re happy to edit the plugin JS files and are using leaflet maps you can get rid of mixed content issues by editing these 2 files:
    and replacing any references to
    with (line 51 in the non-minified one)



    @tallhat it fixes the display of the map (and thx for that, it’s a start!) But it doesn’t seem to fix the research of a location when you’re editing a post.

    It should work now with the last update. My problems (see link in previous comment) were fixed with the new version. 😉

    Unfortunately the OpenStreetMap maps still throw mixed content warning in SSL mode.

    Version: 1.11.4 fixed this, thank you very much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No SSL support?’ is closed to new replies.