Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Godley

    (@johnny5)

    Please see ‘URL and IP’ match:

    https://redirection.me/support/matching-redirects/

    Thread Starter pvmatic

    (@pvmatic)

    I guess I should use “URL and IP – the user’s IP address is used to determine the match, in addition to the source URL”?

    But when I set URL which shold be redirected and IP for which redirection should be made it does not work (redirection works for all other IPs).

    Any idea how to solve this?

    Plugin Author John Godley

    (@johnny5)

    Yes, as I said, you can use the ‘URL and IP’ match.

    How does it not work? You say it doesn’t work for the specific IP, but does work for all other IPs. Have you got the logic the wrong way round?

    Thread Starter pvmatic

    (@pvmatic)

    Source url: domain/email/
    Query Parameters: Exact match all parameters in any order
    Title: Some redirection
    Match: URL and IP
    IP: 123.45.678.91
    When matched: REDIRECT to URL with HTTP code 301 – MOVED PERMANENTLY
    Matched target: https://domain1/roundcube/
    Unmatched target: https://domain2/roundcube/
    Group: Redirections
    Position: 0

    Redirection works for all other IPs (diferent from 123.45.678.91) and redirects users to https://domain2/roundcube/. But even users with specified IP (123.45.678.91) are redirected to unmatched target: https://domain2/roundcube/ instead of matched target: https://domain1/roundcube/.

    So my logic is here but I do not know if I am wrong somewhere?

    Plugin Author John Godley

    (@johnny5)

    If the redirect isn’t working then it is likely that the IP addresses are not what you expect, or that the server is not using the client IP (for example, if you are behind a proxy of some kind).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conditional redirection’ is closed to new replies.