Title: Allowing https urls
Last modified: August 20, 2016

---

# Allowing https urls

 *  [smithwib](https://wordpress.org/support/users/smithwib/)
 * (@smithwib)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/allowing-https-urls/)
 * In version 1.5 of the plugin, we needed to edit line 40 of /lib/shortcodes.php
   so that a map url with https was allowed through:
 *     ```
       //if it's not a link to maps.google.com, don't allow it
       if (substr_count($src, '//maps.google', 0) == 0) return;
       ```
   
 * [http://wordpress.org/extend/plugins/google-maps-embed/](http://wordpress.org/extend/plugins/google-maps-embed/)

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

 *  Plugin Author [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/allowing-https-urls/#post-3204328)
 * Yup – made that change locally a while ago, should get an updated version here
   soon
 *  Plugin Author [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/allowing-https-urls/#post-3204329)
 * And by soon, I meant REALLY soon. Want to confirm this new version works for 
   you?

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

The topic ‘Allowing https urls’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-embed.svg)
 * [Google Maps Embed](https://wordpress.org/plugins/google-maps-embed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-embed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-embed/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/allowing-https-urls/#post-3204329)
 * Status: not resolved