• Resolved negativer

    (@negativer)


    Hello! Great plugin, logical interface, and seems well built. However, I’ve added a bunch of countries to redirect on and the debug log only shows ‘Redirection terminated. Unable to detect visitor country!’ for every entry along with the IP. I have no successful redirects or country detects.

    Here’s my json:
    {“redirect_switch”:”true”,”dev_mode”:”false”,”dubug_log”:”true”,”skip_if_bot”:”false”,”skip_if_skipredirect_provided”:”false”,”redirect_for_first_time_visit_only”:”false”,”redirection_type”:”302″,”redirect_rules”:[{“countryField”:[“AT”,”BE”,”BG”,”HR”,”CY”,”CZ”,”DK”,”EE”,”FI”,”FR”,”DE”,”GR”,”HU”,”IE”,”IT”,”LV”,”LT”,”LU”,”MT”,”NL”,”PL”,”PT”,”RO”,”SK”,”SI”,”ES”,”SE”],”TargetURLField”:”https:\/\/google.com”,”VisitedURLField”:”\/(.*)”,”FromChkCondition”:”from”,”PassParameter”:”false”,”IgnoreParameter”:”false”}]}

    And a snippet of debug.log:
    Debug Log : 2024-09-25 12:33:02 Visitor IP 35.212.76.209, 35.212.76.209 Redirection terminated. Unable to detect visitor country!
    Debug Log : 2024-09-25 12:33:02 Visitor IP 174.226.245.40, 174.226.245.40, 174.226.245.40 Redirection terminated. Unable to detect visitor country!
    Debug Log : 2024-09-25 12:33:06 Visitor IP 134.22.7.138, 134.22.7.138, 134.22.7.138 Redirection terminated. Unable to detect visitor country!
    Debug Log : 2024-09-25 12:33:08 Visitor IP 10.156.108.23 Redirection terminated. Unable to detect visitor country!

    Using WordPress 6.6.2, php 8.2.

    Thanks for any help!

Viewing 1 replies (of 1 total)
  • Plugin Author Sajjad Hossain Sagor

    (@sajjad67)

    Unfortunately as we are using free version of MaxMind GeoIP license, it doesn’t have all the new IPs recorded immediately… so we have to wait for an update to include these new IPs, and I am planning to create a premium version of the plugin with few features which would have commercial license of MaxMind DB with all IPs record.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.