• Resolved Anonymous User 20702716

    (@anonymized-20702716)


    Hey there,
    thanks for the great plugin.
    I am trying to handle a role based redirect, the redirect should only be applied to custom_role.

    So I tried:

    Source-URL: /site-1/
    Role: custom_role
    When matched: Redirect to URL
    Matched target: /site-2/
    Unmatched target:

    But the rule is applied for admins and also for other roles then custom_role, probably everybody gets redirected to page /site-2/ now. What am I missing? Do I have to write something into the input field of “Unmatched target”? I tried 301 and 307, none of them is working.

    Thank you for any help


Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Anonymous User 20702716

    (@anonymized-20702716)

    It seems to work with the “pass through” option, though I don’t really understand the difference or why this works and the redirect doesn’t.

    Plugin Author John Godley

    (@johnny5)

    If it works for one then it will work for the other – there is no difference in functionality. I would check your other plugins and caches and see if they are causing problems.

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

The topic ‘Role matching not working’ is closed to new replies.