I’m stumped. I have a simple php redirect for my site’s order pages. I want visitors from different countries directed to different order pages for my guitar instruction products. I have this and it works:
Obvious question is “what is the value of $countrycode when it doesn’t work the way you expect?”. Looking at this it seems like it will be returning “GB” which somehow* stands for “United Kingdom”, not “Great Britain” : http://www.geoplugin.com/iso3166
Not reading the documentation
(* not being pedantic - “Great Britain” is England, Scotland and Wales, where the “United Kingdom” is England, Scotland, Wales and Northen Ireland. And yes, I had to look it up. I knew it was different, but not exactly why)