Issue after moving to AWS
-
Hi!
I’ve been using your plugin to detect user countries and then using the body class as a flag, changing elements on our site using JS – awesome plugin!
We recently migrated onto Amazon, and since then plugin has been saying that every visitor is from Ireland; however it works fine when I test the lookup in its settings. After a bit of hunting around, we reckon this is the Amazon server IP being checked.
A dev friend has been helping me and believes we needed to configure the plugin to look at the X-Forwarded-For or X-Real-IP headers instead of the user’s ip, but he’s also suggest using mod_geoip instead; any possibility you’ve tried any of those with your plugin and, if so, could point us in the right direction?
Thanks again for the plugin!
Matt
- The topic ‘Issue after moving to AWS’ is closed to new replies.