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

    (@johnny5)

    Redirection will always redirect if the URL is matched.

    Is it possible that the URL that is actually being requested (via the memberpress plugin) is different and doesnt match?

    Thread Starter hemligg

    (@hemligg)

    Well when I enter the url I want to redirect from like this:
    /vip-medlemskap/?action=mepr_unauthorized&redirect_to=%2Fregister%2Fvip-12-manader%2F

    then Redirection plugin will change it to
    /vip-medlemskap/?action=mepr_unauthorized&redirect_to=/register/vip-12-manader/

    So I guess that explains why it isn’t redirected. The url is encoded with %2F instead of / and Redirection will saved / and not %2F.

    Still no idea why the regex that match doesn’t trigger the a redirection.

    Plugin Author John Godley

    (@johnny5)

    The plugin decodes things so they are displayed in human form, not machine form. It will still match it correctly.

    This is unlikely to be the problem and it is probably something else. The regex works fine for me in testing

    Maybe you can give a full URL? Is caching involved?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect by regex doesn’t work even though regex match’ is closed to new replies.