• Resolved melridente

    (@melridente)


    Hello!!
    I have made this redirection (the first in the screenshot) and it does not work, I do not know what I did wrong, but the last redirection works so a cache plugin is not…
    I guess I have left something to do, the idea is that if they see the page from Australia or New Zealand, I can redirect them to the page I indicate

    • This topic was modified 7 months ago by melridente.
    • This topic was modified 7 months ago by melridente.

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

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

    (@ip2location)

    Hi,

    Please enable the “Debugging Log” option on the plugin settings page. Then, run some tests.

    Then, check back the “debug_xxxx.log” located in the plugin folder for the action and client IP captured for details.

    Thread Starter melridente

    (@melridente)

    Hello!!

    I have already activated the “Debugging Log” option but it still doesn’t work.
    I didn’t understand the point “Then, check back the “debug_xxxx.log” located in the plugin folder for the action and client IP captured for details.” you comment, I need an IP to work for a specific client this? I mean, it will not work for all people in Australia for example?

    Plugin Author ip2location

    (@ip2location)

    Please check the debug.log file generated in the plugin folder. If the file does not exist, you website is most properly cached.

    Thread Starter melridente

    (@melridente)

    Yes, I have looked and the debug.log folder exists. What should I do?

    Plugin Author ip2location

    (@ip2location)

    Please check the IP address detected if they match your actual IP and location.

    Then, check the action performed if they redirected to the page as instructed.

    Thread Starter melridente

    (@melridente)

    I’m sorry but I don’t understand which IP detected I should check, the redirect by selected countries is not working for me, except I click the button ‘Redirect all except locations listed above.’ and there it redirects me everything, not only the countries I asked for….
    I do not know if I have not explained well

    Plugin Author ip2location

    (@ip2location)

    Please check if the your targeted country appear in the log file?

    Thread Starter melridente

    (@melridente)

    The folder that appears is called ‘debug_79eabbbbbbdb36bf55db1222822716454dfe9600b10db99fcb3a4800b75648dd2c.log’ and inside it I have files of this type
    07:19:02“,”client_ip“:”51.91.147.81“,”location“:”FR“,”lookup_by“:”Cache“,”cache“:true,”uri“:”https:\/\/www.wobi. com/es\/node\/63442“, ‘message’: ‘URL \’https:\/www.wobi.com/es\/node\/63442\” not match \“https:\/www.wobi.com/wbf-singapore\/”.“, ‘action’: ‘ABORTED’}”.

    • This reply was modified 6 months, 3 weeks ago by melridente.
    Plugin Author ip2location

    (@ip2location)

    Hi,

    Your pages is cached by WP Rocket, the redirection will not work properly in this case.

    You need to disable your cache plugins in order to work.

    Thread Starter melridente

    (@melridente)

    Thank you, it seems to work without problems!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘REDIRECTION’ is closed to new replies.