• Hi
    We are having issues with some users seeing the wrong currency for their geolocation.
    I have set the IP Discoverer setting to http_cf_ipcountry and put the suggested code in wp-config

    if( isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) {
    $_SERVER[‘HTTP_X_REAL_IP’] = $_SERVER[‘HTTP_X_FORWARDED_FOR’];
    }

    Still getting errors
    What do I do next? Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter sysadmingll

    (@sysadmingll)

    Hello Sucuri Support
    Are you able to help with this?
    We think its the CDN grabbing the wrong currency to cache and its not detecting a country change on load.

    Have added to htacccess also the code:
    RewriteRule .* – [E=”cache-vary:geo-cookie”]

Viewing 1 replies (of 1 total)
  • The topic ‘Geolocation Not working with Sucuri’ is closed to new replies.