• Resolved darylaurito

    (@darylaurito)


    Hi, the rule is set such that ip outside sg and brunei will redirect to another page. The desktop is working but in mobile is not. Is there any settings need to be set for mobile? Kindly advise.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author ip2location

    (@ip2location)

    Please enable the “debugging log” in your plugin settings, then check the “debug.log” in your plugin folder for the redirection details.

    Thread Starter darylaurito

    (@darylaurito)

    Hi, I have enabled the debug log how do I checked the debug log?

    Plugin Author ip2location

    (@ip2location)

    Hi,

    Please wait about 24 hours until the “debug.log” is generated under your plugin folder.

    Thread Starter darylaurito

    (@darylaurito)

    Hi,

    As in after it generated, how I find the debug it from the debug.log?

    Plugin Author ip2location

    (@ip2location)

    Hi,

    Please locate your “debug.log” in wp-content/plugins/ip2location-redirection

    Thread Starter darylaurito

    (@darylaurito)

    Hi, I manage to find the debug log but how do I see the error and resolve it? It seems sometimes it working and sometimes it not.

    Plugin Author ip2location

    (@ip2location)

    Please locate the IP that is not working in the debug.log. At the same time, please disable your cache in WP Engine. This plugin will not be working properly with cache enabled.

    Thread Starter darylaurito

    (@darylaurito)

    {"time":"2022-06-16 10:08:10","client_ip":"203.125.162.98","location":"SG","lookup_by":"??","cache":true,"uri":"https:\/\/somewebsite.com\/training-events\/online-registration-asia\/","message":"\"SG\" is NOT listed in [CN]","action":"ABORTED"}
    {"time":"2022-06-16 10:08:14","client_ip":"161.117.9.99","location":"SG","lookup_by":"BIN","cache":false,"uri":"https:\/\/somewebsite.com\/","message":"\"SG\" is NOT listed in [-BN, -SG]","action":"ABORTED"}

    Kindly advise what is the issue about.

    Plugin Author ip2location

    (@ip2location)

    The redirection is not working as it does not meet the rules you set.

    Thread Starter darylaurito

    (@darylaurito)

    This is how I set:

    View post on imgur.com

    But when I try testing by vpn to other countries except for sg and brunei, it didn’t redirect as expected.

    Can check is it related to hosting in WPEngine?

    Plugin Author ip2location

    (@ip2location)

    Please check for the VPN IP in the debug.log and see if the redirection is getting aborted or matched.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Mobile not redirecting’ is closed to new replies.