I am working on the early stages of a project which will invovle merging three regional sites into one large site with GeoIP functionality to redirect the user to the appropriate subdirectory which will serve them content specific to their region.
One thing has struck me and I'm wondering what the thoughts of the community are on this and best practices etc..
Currently I do the following:
- Customer goes to www.mywebsite.com
- I detect their country code based on IP (IE, GB, US, FR, ES....)
- Redirect them to appropriate subdirectory (/ie, /gb, /fr, /es ....)
However the problem with the above is that what if someone from the UK is in the US or someone from France is in Spain??? Then doing it in the above way wouldn't really work.
I can't think of an alternative and would appreciate any feedback for best UX regarding this.