Wrong IP detected / wrong country css class
-
I have enabled “Add a country-specific CSS class to the <body>-Tag.”
Based on this I’ve implemented some CSS rules successfully. I tested them on our test environment with success.Unfortunately now that we’ve moved the site to our live environment the results are very different. It seems that on live the country classes are very different and in another country. Also, the IP test is not correct. Please see below:
RESULTS LIVE ENVIRONMENT
Current IP informations (as detected by the plugin) Detected client IP: 172.69.54.XX Real client IP (detected without the plugin): Failed: error External Server IP: 35.173.147.XX REMOTE_ADDR: 172.69.54.XX HTTP_X_FORWARDED_FOR: 83.83.153.XX
RESULTS TEST ENVIROMENT
Current IP informations (as detected by the plugin) Detected client IP: 83.83.153.XX Real client IP (detected without the plugin): Failed: error External Server IP: 52.204.22.XX REMOTE_ADDR: 83.83.153.XX HTTP_X_FORWARDED_FOR: (unset)
In the live environment, we have a Cloudflare CDN. Would this be the problem?
Would you know how this can be solved? I can pay for a working solution. Thank you.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Wrong IP detected / wrong country css class’ is closed to new replies.