FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to redirect user based on user country?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to redirect user based on user country? [message #175630] Fri, 14 October 2011 03:00 Go to previous message
justaguy is currently offline  justaguy
Messages: 16
Registered: December 2010
Karma:
Junior Member
Hi,

I wonder how we can accomplish this task?
Say, a user from India lands at http://www.knowledgenotebook.com/download.html
(actually it would be http://www.knowledgenotebook.com/download.php )
I'd like to direct this visitor to http://bla.bla.bla.bla.in/download.html

And if the user is from China
it would be redirected to http://bla.bla.bla.bla.cn/download.html
so and so forth.

This approach would be more elegant if easily doable. If so how?

Though another approach is also doable, messy.
Download mirror site in India
Download mirror site in China
....

Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: including CSS & JS on only pages that need that CSS & JS
Next Topic: Can I stop sending content-length header?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 02:07:18 GMT 2024

Total time taken to generate the page: 0.05835 seconds