A company website offers the same products and pages (more or less) across different countries. It's a mess; they use a mix of subdirectories, subdomains and ccTLDs for international sites: ...
I have a website in Spanish and English. When there isn't any subdomain selected the preferred language is taken from the browser preferred language or a cookie. I have the following URLs ...
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 ...