Website country auto-detection and redirect
- Status: Closed
- Præmie: $60
- Modtagne indlæg: 3
- Vinder: kelinciku
I am creating a website for a not-for-profit organization that currently operates in Canada, USA, and the UK. The existing website requires the user to choose their location from a drop-down: the four choices are: Canada, USA, UK and Global. I would like to eliminate this step using PHP. Upon entering the URL of the website, I would like the user's country to be automatically detected using IP address. They would then be redirected to the home page of their country.
I would like to do this in the simplest way possible. The existing website is: [url removed, login to view] if you'd like to see the current setup.