Title: No Map in Frontend with SSL / https
Last modified: May 19, 2017

---

# No Map in Frontend with SSL / https

 *  Resolved [justanotherhappywpuser](https://wordpress.org/support/users/justanotherhappywpuser/)
 * (@justanotherhappywpuser)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/no-map-in-frontend-with-ssl-https/)
 * Hey,
 * I just downloaded your plugin a fey days ago. I have been trying to implement
   this for 2 hours now. My site is running on SSL encryption. I searched the forum,
   but all I found was the tipp to replace “[http://&#8221](http://&#8221); in function
   pgmaps_load_maps_api() with “[https://&#8221](https://&#8221); or “//”. But booth
   did not work, here is my code:
 * function wpgmaps_load_maps_api() {
    wp_enqueue_script(‘google-maps’ , ‘//maps.
   google.com/maps/api/js’ , false , ‘3’); }
 * I also tried this plugin on a http site. There the map works correctly.
 * The reason the map does not show is definitely the SSL encryption. That is what
   the console says:
 * “Mixed Content: The page at ‘[https://www.Domain.com/hello/&#8217](https://www.Domain.com/hello/&#8217);
   was loaded over HTTPS, but requested an insecure script ‘[http://maps.google.com/maps/api/js?v=3.25&key=MYKEY&#8217](http://maps.google.com/maps/api/js?v=3.25&key=MYKEY&#8217);.
   This request has been blocked; the content must be served over HTTPS.”
 * I also treid Firefox. If I disable the the https encryption, I can see the map.
 * Waiting for your response. Don’t worry, unless other users, I am well aware that
   we are facing weekend 🙂

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

 *  [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/no-map-in-frontend-with-ssl-https/#post-9157853)
 * Hi there
 * Thank you for getting in touch with us!
 * My apologies for the inconvenience caused by this. Please go to wp-google-maps/
   wp-google-maps.php and scroll down to line 1090 where you’ll find a line of code
   that looks like this:
 * `wp_enqueue_script('wpgmza_api_call', '//maps.google'.$wpgmza_suffix.'/maps/api/
   js?'.$api_version_string.'key='.$wpgmza_api_key.'&language='.$wpgmza_locale, 
   array(), null );`
 * Please add ‘https:’ into the URL and let me know if this helps?
 *  Thread Starter [justanotherhappywpuser](https://wordpress.org/support/users/justanotherhappywpuser/)
 * (@justanotherhappywpuser)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/no-map-in-frontend-with-ssl-https/#post-9160996)
 * Thanks for the fast support. Everything is fine now 🙂
 *  [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/no-map-in-frontend-with-ssl-https/#post-9161651)
 * Hi there
 * Only a pleasure! So glad to hear everything is now working as expected 🙂

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

The topic ‘No Map in Frontend with SSL / https’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-maps/assets/icon-256x256.png?rev=3058363)
 * [WP Go Maps (formerly WP Google Maps)](https://wordpress.org/plugins/wp-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-maps/reviews/)

## Tags

 * [ssl https](https://wordpress.org/support/topic-tag/ssl-https/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/no-map-in-frontend-with-ssl-https/#post-9161651)
 * Status: resolved