Let's say I have a site that has multiple versions for different countries, e.g.:
www.example.com/us
www.example.com/uk
www.example.com/ca
and I want to use IP geolocation to redirect users who go to www.example.com
to the appropriate country version of the site. What is the best way to do that without confusing crawlers such as Googlebot or running into other SEO type trouble?