Dave,
Having taken some of walt’s advice (above) I’ve cancelled two of the other 3 domains associated with this site and have reloaded the map on its own hidden page with your coding inserted as an HTML mark-up. Happily it now seems to be working!
That would depend on how the different domains were redirected to the
site. If you typed in olddomain.com in your browser, and either a full-
page frame was used to present newdomain.com to you under the old
domain, or a full external redirect was made at the server level, so
that your browser actually showed newdomain.com in the location field
despite what you typed, then yes, you could have had a Google map
using the API.
Regardless of your source of traffic, you really do need to think
about Google. I have observed highly intelligent people*, masters of
their own domains, typing full http URLs into the Google search box as
a means of navigating in a Web browser.
Walter
*My former creative director, for one. Also my own beloved – who has
11 years of graduate and post-graduate education, and will happily
diagnose and treat your many and various (and exotic) eye diseases –
still does this after 21 years of marriage to me and countless
reminders that “the location field is that little text box at the very
top left of the browser window”.
On Jul 11, 2011, at 7:08 AM, PKelly wrote:
Interesting to know that but I’m not too concerned about that since
this is a local business and most of their clients are obtained by
word of mouth.
That being said, does this mean that it’s not possible to have
workable Google Map APIs when there are several domains pointing to
the same site? Seems to me this outfit’s old site was set up
similarly and did have a working Google Map.
Now re-uploaded this without Dave’s code and all seems well but with only 2 domains, one a .com and the other .co.uk, otherwise identical. http://www.berkeleyhouselewes.com/findus.html
Thanks to both of you for your help!
Best,
Paul
Hi Dave,
Okay, I’ve put in the code using the API key for the .com site (which is the where the files are) for both the .co.uk and the .com URLs. Is that right? It still doesn’t seem to work, though when you type in http://www.berkeleyhouselewes.co.uk/findus.html
Can you have a look?
Thanks!
Paul
Hi Dave,
Okay, done. Could you have another look? http://berkeleyhouselewes.co.uk/findus.html
I still don’t see it working. Thanks much for sticking with this. It’s been very helpful in learning what works and what doesn’t.
Cheers!
Paul