Forum Archive - Question about Enterprise and geolocation

Question about Enterprise and geolocation
Aug 11, 2016 6:03 pm by natastna2
Hello, I have just installed the enterprise version on mylarshop.com and notice that since changing from Pro to Enterprise the geo-location does not seem to be working. When a customer is in a foreign language they are presented with a message meant for our French customers regardless of what country they are located in. Will the geo-location module need editing to work with the Enterprise version? Thank you for your time.
Re: Question about Enterprise and geolocation
Aug 11, 2016 9:11 pm by Edvard
Hi, I think that geo-location module just uses our server IP address instead of real visitor IP address which we send in X-Real-IP request header. So you probably need to modify the module to use that header if it is set.
Re: Question about Enterprise and geolocation
Aug 12, 2016 3:15 pm by natastna2
OK thanks Edvard, If I wanted to echo the X-Real-IP do you think this would be OK? <?php echo $_SERVER['X-Real-IP']; ?> Thank you for your time.
Re: Question about Enterprise and geolocation
Aug 13, 2016 5:10 am by Edvard
Use $_SERVER['HTTP_X_REAL_IP']

SIMILAR TOPICS

Enterprise URLs not workingMay 14, 2018 8:25 pmReplies: 1Post by: dpitfield
Pre Sales Question ?Oct 18, 2017 6:37 amReplies: 1Post by: jackB2010
Question about SSLJul 9, 2017 8:30 amReplies: 3Post by: Travelaroundtheworld
Upgrade to EnterpriseJul 25, 2017 4:51 pmReplies: 1Post by: gpullen
How can I change the subscription from enterprise to custom?Mar 14, 2017 2:55 amReplies: 3Post by: besybuy

Try GTranslate with a free 15 day trial