There are a few issues to consider, but I would definitely go down the cookies / javascript road rather than using HTTP redirects.
ie. - PHP does geolocation lookup and saves country to a cookie - Page loads, javascript reads the cookie and redirects if it needs to Try to make the .co.nz and com.au pages different, so that one of the sites doesn't get deindexed for dupe content. Harvey. Dan Khan wrote: > Yeh, that's what I'm currently doing, but my issue is trying to not > allow visitors to buy through a non-local site due to the tax > implications on the business. > Until we've setup more localised distribution centres, that's why I'm > thinking of auto-redirecting to the localised site, hence the original > post. > > Cheers, > -Dan > > > On Wed, Apr 15, 2009 at 11:02 AM, Sid Bachtiar <[email protected]> wrote: > >> Why not just show links of all the localized URL? Just provide warning >> if someone from Australia is visiting the NZ one. This is like what >> Ebay does. >> >> On Wed, Apr 15, 2009 at 10:48 AM, Dan Khan <[email protected]> wrote: >> >>> Hi, >>> >>> We've been working on some internationalised versions of our website, >>> and implemented an IP lookup using GeoIP to suggest visitors use a >>> more localised version of the site (e.g. goto www.1791diamonds.com.au >>> whilst in NZ or vice versa at www.1791diamonds.co.nz). After doing >>> some tax research, since our main despatch location is in NZ for the >>> time being, looks like we might require more than just a suggested >>> redirect, rather a forced redirect to ensure we invoice and charge the >>> correct amount of GST and ship from the correct company. >>> >>> Apart from the obvious accuracy issue of the IP database that's doing >>> the auto-bouncing; is there any recommended approach to avoid >>> auto-redirecting web spiders as well as human visitors? >>> I assume it's against the rules to code spider-detection code into >>> your sites, but we certainly don't want our NZ or AU sites to be >>> bounced back to the US site whenever google comes spidering...? >>> >>> Yeh we could always just code logic into each international site to >>> invoice and apply correct GST based on customer's destination vs >>> despatch destination, but just trying to avoid an extra month of >>> coding/testing/release to some core code. >>> >>> Any advice appreciated. >>> >>> Cheers, >>> -Dan >>> >>> >> >> -- >> Blue Horn Ltd - System Development >> http://bluehorn.co.nz >> >> > > > > -- Harvey Kane Phone. +649 950 4133 Mobile. +6421 811 951 Email. [email protected] --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
