Hi,
I add a parameter to the redirect url in Security Restrict to specify a page to redirect to on login. So:
This works really well for static routes, I’m now trying to add a dynamic part to a URL:
which redirects to:
I’ve tried with an optional parameter in the path (this provides a picker for the id but it’s blank)
I then type in the GET variable I want to use (so $_GET.id) but it returns as text on redirect.
I’ve also tried just typing into the URL, which does the same.
Not sure if this is a bug, can’t be done, or I’m doing it wrong!
What I want is to redirect if not logged in to:
/login?redirect_url=/settings/communities/DYNAMICIDHERE
to enable redirect on login to:
/settings/communities/DYNAMICIDHERE
Any ideas of other ways to achieve this?