daydreamer Posted May 9, 2009 Share Posted May 9, 2009 I am making an affiliate site, users will be from the UK and USA. It will have products from UK and USA sites, I want to cater to both markets. What techniques can I use to accurately tell where a user is coming from? Also will this effect googlebot? Thanks. Link to comment https://forums.phpfreaks.com/topic/157492-redirect-user-depending-on-location/ Share on other sites More sharing options...
gevans Posted May 9, 2009 Share Posted May 9, 2009 Your best option is to use geolocation by IP check this link out http://www.linuxjournal.com/article/7856 Link to comment https://forums.phpfreaks.com/topic/157492-redirect-user-depending-on-location/#findComment-830322 Share on other sites More sharing options...
GingerRobot Posted May 9, 2009 Share Posted May 9, 2009 Is it really necessary? Most websites offer you a chance to select your location on the home page and there's always a link to change from other pages. It's never going to be 100% accurate. More trouble than it's worth IMO. Link to comment https://forums.phpfreaks.com/topic/157492-redirect-user-depending-on-location/#findComment-830327 Share on other sites More sharing options...
gevans Posted May 9, 2009 Share Posted May 9, 2009 Unless your google (are you?) If you are that functions already been done Link to comment https://forums.phpfreaks.com/topic/157492-redirect-user-depending-on-location/#findComment-830332 Share on other sites More sharing options...
daydreamer Posted May 9, 2009 Author Share Posted May 9, 2009 Unless your google (are you?) I am Google, but only on the weekends. So the problem persists. http://www.linuxjournal.com/article/7856 - Thanks for the link gevans now checking it out, looks interesting. Yeh I was thinking about having a location selector page, but I thought it would be cool to do it dynamically. Link to comment https://forums.phpfreaks.com/topic/157492-redirect-user-depending-on-location/#findComment-830350 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.