Title: Fails over HTTPS
Last modified: August 21, 2016

---

# Fails over HTTPS

 *  [Chris](https://wordpress.org/support/users/renaissancedesign/)
 * (@renaissancedesign)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fails-over-https/)
 * **Problem:**
    Two URLs have hard-coded http protocol on lines 57 and 68 of geo-
   my-wp.php, causing a site served over https to error out over mixed/insecure 
   content.
 * **Suggested fix:**
    List the URLs as protocol-relative:
 * `wp_register_script( 'google-maps', '//maps.googleapis.com/maps/api/js?key='.
   $gmw_options['google_api'].'&sensor=false&libraries=places&region='.$gmw_options['
   country_code'],array(),false);`
 * `wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/
   themes/smoothness/jquery-ui.css');`
 * [http://wordpress.org/plugins/geo-my-wp/](http://wordpress.org/plugins/geo-my-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fails-over-https/#post-4322338)
 * Thank you Chris.
    I will add the fix to the coming update.

Viewing 1 replies (of 1 total)

The topic ‘Fails over HTTPS’ is closed to new replies.

 * ![](https://ps.w.org/geo-my-wp/assets/icon-256x256.gif?rev=2803407)
 * [GEO my WP](https://wordpress.org/plugins/geo-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geo-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geo-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-my-wp/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/fails-over-https/#post-4322338)
 * Status: not resolved