• Resolved jonofat

    (@jonofat)


    In the plugin settings, if I just choose to redirect from the home page then it works fine. But I want to redirect from ‘ANY’ page. If I choose ‘ANY’ pages however then the website gets stuck in what appears to be an infinite loop and I get an error that says too many redirects. When I look at the debug log it shows the same thing over and over again

    2021-05-18 06:03:47	84.247.49.20	URL          : https://example.com/
    2021-05-18 06:03:47	84.247.49.20	Lookup By    : Cache
    2021-05-18 06:03:47	84.247.49.20	Country      : Singapore [SG]
    2021-05-18 06:03:47	84.247.49.20	Result       : Country not matched
    
    2021-05-18 06:03:47	84.247.49.20	Matched Rule : [SG] is listed in [SG]
    2021-05-18 06:03:47	84.247.49.20	Result       : Redirected to https://example.com/sg
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author IP2Location

    (@ip2location)

    Can I have the screenshot of your rule page?

    Thread Starter jonofat

    (@jonofat)

    https://prnt.sc/132futq

    Obviously I am using my real url in the backend and not example.com

    Plugin Author IP2Location

    (@ip2location)

    You are using [Any Page] with a URL which the URL is pointed back to the same server again. I guess the /sg is a page. Can you select the /sg page instead of URL?

    Thread Starter jonofat

    (@jonofat)

    I am using the WMPML plugin and so /sg is basically the Singapore version of the English site and I don’t think it is just a page. And I will have a few like this eg: example.com/us for the US version.

    All pages will basically just have the language code eg:

    example.com/sg/about
    example.com/sg/contact

    are translated pages of

    example.com/about
    example.com/contact

    So if someone in Singapore goes to example.com they should be redirected to example.com/sg

    Plugin Author IP2Location

    (@ip2location)

    We released a new version 1.23.8 for this situation. Please update your plugin and try again.

    Thread Starter jonofat

    (@jonofat)

    I only downloaded the plugin about 2 hours ago. I just checked the version now and it is 1.23.7 but it is not showing any update available?

    Plugin Author IP2Location

    (@ip2location)

    It may take a while until availalble.

    Thread Starter jonofat

    (@jonofat)

    Okay, sure. And then once I update is there anything different I need to do or will it just work?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Too many redirects’ is closed to new replies.