GEOIP_COUNTRY_CODE incorrect
-
Hi,
I’ve tried everything to make the geolocation work, without results.
In the beginning GEOIP_COUNTRY_CODE only showed SE, which is where the servers is located. I’ve talked to the host that couldn’t solve the issue.
So I installed and configured Cloudflare. Now it is changing the GEOIP_COUNTRY_CODE, but still it doesn’t always match.
I’ve also installed a different Currency plugin that’s using it’s own maxmind lookup. This plugin is always showing correct currency.
Since I installed cloudflare HTTP_CF_IPCOUNTRY is also showing correct information, but it’s not matching GEOIP_COUNTRY_CODE.Debug:
Default customer location: geolocation_ajax
MaxMind GeoIP database:
MaxMind license:
MM_COUNTRY_CODE:
GEOIP_COUNTRY_CODE: GB
HTTP_CF_IPCOUNTRY: DE
HTTP_X_COUNTRY_CODE:
HTTP_X_REAL_IP:
HTTP_X_FORWARDED_FOR: 167.172.161.11
REMOTE_ADDR: 167.172.161.11
Real external IP: 167.172.161.11
Const WCPBC_USE_REMOTE_ADDR: –
Geolocation Test:Any idea how to solve the issue?
Kind regards,
The topic ‘GEOIP_COUNTRY_CODE incorrect’ is closed to new replies.