Title: Breaks Google Maps
Last modified: August 22, 2016

---

# Breaks Google Maps

 *  [Matt Jensen](https://wordpress.org/support/users/ultrawebsites/)
 * (@ultrawebsites)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/breaks-google-maps/)
 * Hi there
 * I’ve been using the plugin for a while and greatly appreciate it. However, from
   what I can tell, the plugin is currently breaking Google Maps when served over
   HTTP, and the map instead gives the following message: “The Google Maps API server
   rejected your request. Requests to this API must be over SSL.”
 * You can see it here in the footer:
    Broken: [http://www.tenmoons.com.au/shop/](http://www.tenmoons.com.au/shop/)
   Works (via HTTPS): [https://www.tenmoons.com.au/shop/checkout/](https://www.tenmoons.com.au/shop/checkout/)
 * I originally had the iframe reference set to include Google Maps via [http://](https://wordpress.org/support/topic/breaks-google-maps/?output_format=md),
   and as it wasn’t working I tried changing the iframe reference to begin with “//:”,
   however this didn’t alleviate the problem.
 * It seems it must be something that the plugin is doing, as I can’t find any reference
   to this Google Maps issue anywhere else, and there appears to be a few other 
   users of this plugin coming up in search results for the error message (as per
   [https://wordpress.org/support/topic/google-maps-issue?replies=3](https://wordpress.org/support/topic/google-maps-issue?replies=3)
   and [https://wordpress.org/support/topic/the-google-maps-api-server-rejected-your-request-1?replies=1](https://wordpress.org/support/topic/the-google-maps-api-server-rejected-your-request-1?replies=1)
 * Would love to hear of how to address the problem. Also, particularly with Google
   now apparently preferring sites over SSL, it could be good if the plugin allowed
   us to serve an entire site via SSL too.
 * Thanks again
 * Cheers
    Matt
 * [https://wordpress.org/plugins/wordpress-https/](https://wordpress.org/plugins/wordpress-https/)

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

 *  Thread Starter [Matt Jensen](https://wordpress.org/support/users/ultrawebsites/)
 * (@ultrawebsites)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/breaks-google-maps/#post-5485584)
 * Disregard the comment about enabling it to serve an entire site via HTTPS – can
   just do that with the General Site settings for URLs.
 *  Thread Starter [Matt Jensen](https://wordpress.org/support/users/ultrawebsites/)
 * (@ultrawebsites)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/breaks-google-maps/#post-5485906)
 * I ended up swapping the whole site to be served via HTTPS, via the General Site
   settings, which means the maps now show again.
 * But this doesn’t solve the actual problem though.
 *  [bigneno](https://wordpress.org/support/users/bigneno/)
 * (@bigneno)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/breaks-google-maps/#post-5485909)
 * Here’s my working temporary solution via jquery.
 *     ```
       <script>
       jQuery(document).ready(function($){
          $('iframe#map').attr("src", $('iframe#map').attr('src').replace("http:","https:") );
       });
       </script>
       ```
   
 *  [forthewinn](https://wordpress.org/support/users/forthewinn/)
 * (@forthewinn)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/breaks-google-maps/#post-5485948)
 * Here’s a solution which fixes the link before it’s outputted:
    [https://wordpress.org/support/topic/issue-with-google-maps-functionsphp-fix-included#post-7295741](https://wordpress.org/support/topic/issue-with-google-maps-functionsphp-fix-included#post-7295741)

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

The topic ‘Breaks Google Maps’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [forthewinn](https://wordpress.org/support/users/forthewinn/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/breaks-google-maps/#post-5485948)
 * Status: not resolved