How can I detect the user's country and modify the website to a country-specific version?

StackOverflow https://stackoverflow.com/questions/4552521

문제

Can anyone tell me how to do that, just like when I surf google.com it directs me to google.co.uk. Thanks!

도움이 되었습니까?

해결책

This is called IP geolocation. There are a great variety of services and libraries for this. You can get more specifics if you tell us what platform you're on.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top