| Re-directing single page to two pages depending on the ip
|
raedthakur

msg:3610717 | 2:59 am on Mar 26, 2008 (gmt 0) | I am not sure if this is the right section to ask this question. My question is How to do as follows: If someone goes to my website www.xyz.com/abcd they should be redirected to xyz.com/usapage if they have a usa ip address And if they have a non usa ip address they should be redirected to www.xyz.com/nonusapage Hope i am clear in exlaining my needs
|
tedster

msg:3610726 | 3:19 am on Mar 26, 2008 (gmt 0) | If you decide to use IP-based redirection, you should do it through whatever server side technology you are using, and not through client-side technology. We've got other forums here for many of the common server-side languages. A personal note: I travel a lot, and I find automated IP redirection to be a major problem - and one that many sites have decided to drop in recent times. It's better to have one static landing page that allow users to make their own choice, I think. You can even offer to give them a cookie to remember their choice, but don't force it. I've had some trips in the UK where the hotel was using a German ISP and I wanted to access some US materials. Insanity!
|
Mander

msg:3615852 | 1:40 am on Apr 1, 2008 (gmt 0) | here's some stuff i found for you.. you will still need to put the algorithm for the page to check out which IP that is, but here's a redirect algorithm for IIS 7.0 [mvolo.com...] tedster: use proxy [edited by: Mander at 1:41 am (utc) on April 1, 2008]
|
|
|