Byron
New Member
Hi Guys,
I did this years ago and now forget how to do it again does anyone have any code for automatically and seemlessly redirecting visitors based on their IP.
Basically what I am trying to do:
If an Irish IP visitor, site goes to http://www.domain.com
If a UK IP visitor, site goes to http://www.domain.com/uk/
... and I know there are exceptions to this working, but a general one which will catch 99% of users.
Scripting on site is simple enough PHP / HTML on Linux server with Cpanel (yes I am learning the other hosts options too )
Thanks In Advance,
B
I did this years ago and now forget how to do it again does anyone have any code for automatically and seemlessly redirecting visitors based on their IP.
Basically what I am trying to do:
If an Irish IP visitor, site goes to http://www.domain.com
If a UK IP visitor, site goes to http://www.domain.com/uk/
... and I know there are exceptions to this working, but a general one which will catch 99% of users.
Scripting on site is simple enough PHP / HTML on Linux server with Cpanel (yes I am learning the other hosts options too )
Thanks In Advance,
B