The Issue
We've got a ccTLD website (example.de) with subfolders for different languages, which obviously needs to be moved to example.com for proper language targeting. Since example.com belongs to the parent group company which has been 301ing all visitors to us-group.com so far and is reluctant to allow us 301ing example.de to example.com and ditch their existing 301s to us-group.com, we need to work around a bit.
The Task
Visitors from the North and South Americas should be rerouted to us-group.com Visitors from all remaining countries (such as Europe and South East Asia) should be redirected from example.de to example.com and stay there without being rerouted to us-group.com
The Challenge
We figured that many visitors from the Americas use proxies, so rerouting by IP might not be the best option. The us-group.com simply would lose a lot of their previous traffic.
Reroutings users by their browser language, however, might also not be very accurate, given that most English speaking users might not adjust their language by region such as US, AU, UK, CA ... because any English might be fine for them. Therefore, we would not be able to reroute CA and US users to us-group.com and still have UK and AU users stay at example.com/en/.
What other options do we have to reroute users with a PHP script? Would it make any sense to combine IP address and browser language detection? If so, how and what should be prioritised?
Is there anyone out there able to share similar experiences?
Additional thoughts: Obviously, that's not the only thing we consider doing. Before rerouting visitors from the Americas, we would:
- modify the DNS settings of the example.com domain (A record: IP is going to be changed to the IP address of the German server)
- modify the vhost record, so the German server redirects the example.com visitors to the directory example.com/en/ (containing the English parts of the content of example.de)
- Reroute visitors from the Americas to the us-group.com (by browser & OS language, as mentioned above)
This post is linked to my initial question How to reroute to a different URL identifying browser and system language by PHP.