Title: Map tiles still loaded via http instead of https
Last modified: January 31, 2018

---

# Map tiles still loaded via http instead of https

 *  Resolved [lisalisa1987](https://wordpress.org/support/users/lisalisa1987/)
 * (@lisalisa1987)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/)
 * Hi,
    I recently changed a website from http to https and everything loads correctly
   except the map images and I can not find the right location to change that to
   https. I get this error: Mixed Content: The page at ‘…’ was loaded over HTTPS,
   but requested an insecure image ‘[http://c.tile.openstreetmap.de/tiles/osmde/12/2209/1444.png&#8217](http://c.tile.openstreetmap.de/tiles/osmde/12/2209/1444.png&#8217);.
   This content should also be served over HTTPS.
 * Where do I need to change a setting in your plugin?
    Thanks for your help 🙂 
   With nice regards, Lisa

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9954387)
 * I’ve had the same problem.
 * I’d suggest changing the default URLs for each WMS option to https, where supported
   by the provider. There’s no harm in pulling in HTTPS assets on an HTTP page, 
   while the other way around is obviously problematic.
 * If all of the providers support HTTPS, an easy blanket fix is to wrap all calls
   to ‘_baseurl’ in showmap.php in `set_url_scheme()`.
 *  Thread Starter [lisalisa1987](https://wordpress.org/support/users/lisalisa1987/)
 * (@lisalisa1987)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9968341)
 * Hi Boone Gorges,
    thanks for the tip. All default URLs in WMS Options are already
   https, but thats not solving it…is there no other way than changing plugin files?
   I think the plugin supports https and it is just a setting I have to make but
   I couldnt find it…
 * With nice regards, Lisa
 *  [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9970170)
 * [@lisalisa1987](https://wordpress.org/support/users/lisalisa1987/) – See [https://wordpress.org/support/topic/discomap-api-endpoints-have-changed/](https://wordpress.org/support/topic/discomap-api-endpoints-have-changed/)–
   it could be that the URLs you’re using are out of date.
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9971060)
 * Hi Lisa,
    https support for osmde basemaps will be added with the next release–
   if you like to add this change already now, please edit `/wp-content/plugins/
   leaflet-maps-marker/inc/showmap.php`, search for `$osm_tile_url = 'http://{s}.
   tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png';` and replace this line with`
   $osm_tile_url = 'https://tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png';`
   best, Robert
 *  Thread Starter [lisalisa1987](https://wordpress.org/support/users/lisalisa1987/)
 * (@lisalisa1987)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9978161)
 * @RobertHarm – thanks a lot for your help, that did the trick 🙂
    Thanks all for
   the support!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Map tiles still loaded via http instead of https’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [lisalisa1987](https://wordpress.org/support/users/lisalisa1987/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/map-tiles-still-loaded-via-http-instead-of-https/#post-9978161)
 * Status: resolved