Support or Change url
-
Hello,
I tested WP Google Map Plugin.
Our server is in China for local service, unfortunately, any global resource like google, twitter, Facebook…are blocked by China government Firewall name Great Firewall.
we can not access google resouces both at fronend and backend:
https://maps.google.com
https://maps.googleapis.com/maps/api/jsFornately, we can access google map at frontend by URL like this:
http://www.google.cn/maps/@35.780287,104.1361118,4zand backend URL like this
https://www.google.cn/jsapi
https://maps.google.cn/maps/api/jsyou might like to check Google map official document at this page
https://developers.google.com/maps/faq#china_ws_access
You will have to edit the code to use the Maps API in China. The bad side is that it doesn’t support https and it will also give you some page speed warnings, but it is possible.
So, it would be much great if you would like to help me with a piece of code snippet to switch the url, So that I can use the plugin of Code Snippets(https://ww.wp.xz.cn/plugins/code-snippets/) to input that code.
Or let me know which code lines I should change in plugins files.
Thanks, have a nice day.
Alex
The topic ‘Support or Change url’ is closed to new replies.