Support » Plugin: Sucuri Security - Auditing, Malware Scanner and Security Hardening » Geolocation Not working with Sucuri

  • 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’] ) ) {

    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)
  • 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)
  • You must be logged in to reply to this topic.