Please enable the “debugging log” in your plugin settings, then check the “debug.log” in your plugin folder for the redirection details.
Hi, I have enabled the debug log how do I checked the debug log?
Hi,
Please wait about 24 hours until the “debug.log” is generated under your plugin folder.
Hi,
As in after it generated, how I find the debug it from the debug.log?
Hi,
Please locate your “debug.log” in wp-content/plugins/ip2location-redirection
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.
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.
{"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.
The redirection is not working as it does not meet the rules you set.
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?
Please check for the VPN IP in the debug.log and see if the redirection is getting aborted or matched.