close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

“the web site needs a different Googls Maps API key. A new key can be generated at h

Thread began 7/05/2010 4:10 am by dawn401382 | Last modified 7/06/2010 4:03 am by dawn401382 | 1434 views | 4 replies |

dawn401382

“the web site needs a different Googls Maps API key. A new key can be generated at h

I have created a map which works fine for my clients .co.uk website, but they also have a .com which is also opens the same site - The problem is if you come to the site using the .com address you get the following warning '“the web site needs a different Googls Maps API key. A new key can be generated at maps/.'

Please could you tell me how I can get this to work for both using Pro Maps.

Thank you
Dawn

Sign in to reply to this post

tom250037Beta Tester

Dawn,
I know this doesn't answer your question, but it is much better to have the .com redirect you to the .co.uk site (and have the address bar change) then just having the .com show you the content from the .co.uk. If you do it the way it is currently working, google will see the .com as duplicate content, and penalize your rankings.


Tom

Sign in to reply to this post

dawn401382

Port drucker

Hi - Thank you for your reply.

The .com adress does just redirect to the .co.uk site, there is only one site uploaded (is that what you mean) - I can post the website address (but wasnt sure if I was aloud to do this here)

Thank you
Dawn

Sign in to reply to this post

AlaskaTomBeta Tester

No problems with posting domains.
When you do the redirect, make sure it changes the domain in the address bar from the .com to the .co.uk
If it does, then you should be fine.

How are you doing the redirect? If you are using a hosting control panel, like cPanel, and 'parking' the .com on the .co.uk then you will also need to use an htaccess 301 redirect from the .com to the .co.uk

Sign in to reply to this post

dawn401382

Hi - Have got onto the people who are hosting the site as I dont have access to the cpanel. They came back with the answer below - Do you know if what they say is correct or am I going to cause myself even more problems??

""The server is actually a Windows server, so htaccess files don't work (they are for apache not IIS). Currently both the .co.uk and .com domain both point at the same site.

To achieve what you want to do, you could change the index.html page to a php page and at the top of the code, check if the domain is .com and if do, redirect to the .co.uk domain.""

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...