homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

How to identify a country
Different HREF depending on the country

 8:58 am on Sep 2, 2002 (gmt 0)

I want to sell a book to US and UK customers.
I have set up HREFS to amazon.co.uk and amazon.com.

Is there a certain country field coming in to point to the correct HREF?

Or is it better to have different pages for US and UK?




 4:37 pm on Sep 2, 2002 (gmt 0)

Hi jeffbro,
Welcome to WebmasterWorld.

I'm not sure what the best solution is. I know that I am a registered user at Amazon US and that when I went to buy a book that was only available on their UK web site the site recognized me when I logged in. That being said, they have a nice cross-website recognition system of users but a search on the US site did not yield the book I was looking for.

You'll be hard pressed to determine where the customer is located so I suggest you go for the simple approach and provide both links. You could cite the above example as part of the reason why you provide both if need be.


 6:30 pm on Sep 2, 2002 (gmt 0)

Welcome to WebmasterWorld [webmasterworld.com] jeffbro

There are ways to accomplish this but I think lorax is right, for now I would just offer both links. If you want to take a look at a thread on this very subject there's one here.

Getting the users country from the ip address [webmasterworld.com]


 11:35 am on Sep 3, 2002 (gmt 0)

thanks very much - i will read the article


 1:04 pm on Sep 3, 2002 (gmt 0)

have experienced good results with geobutton (also mentioned in the above linked thread). Only problem you will find is when it comes to identify AOL users. Check out their scripting language to add country specific code-segments/content.

Regarding Amazon, why not setup two links below your offer/review.
One telling to "Buy it now from Amazon.co.uk" and the other like "Get it from Amazon.com". Works on one of my sites OK.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved