Then you’ll need to add the key to your plugin. Open amazon_affiliate_link_localizer.php in the wordpress plugin editor, and look for the line that has this javascript bit:<script type=\"text/javascript\" src=\"http://www.google.com/jsapi\">

right after the jsapi add
?key=
and then your API key that you got from Google.

So that line should look like:<script type=\"text/javascript\" src=\"http://www.google.com/jsapi?key=YOUR_BIG_LONG_API_KEY_FROM_GOOGLE\">

Thanks so much for the reply, was beginning to lose hope! I did as you said and got an API and added it in the correct place but my .com Amzn links still don’t redirect to the .co.uk Amzn, and I live in the UK…

Are the products you’re listing available on the co.uk site? I’ve had a number of books and videos that don’t switch from the .com site, and it turns out that they come up with a 404 page when I change the extension.

The other thing I would try is putting an Amazon link without your affiliate id, to see if the script adds it. At least you’d know for sure then whether the script is functioning at all. If it’s not, I’d try uninstalling, then reinstalling.

I am looking at creating a serverside fallback for when Google can’t get a fix, but that’s a big job so won’t happen for a while. In the meanwhile though, it’s not a big problem – it only happens to a few people so it should work fine for your visitors even if not for you – and of course that’s what matters.

Hi akriraxx – do you have a link to your website I can look at to see what’s going on? Can you tell me exactly what link you clicked on and what URL it took you to? Also, what changes have you made to “amazon_affiliate_link_localizer.php? None should be required (the API key is not needed) so I wonder if this may have broken something?