i'd like to alter the after login redirect URL based on a User custom field, i encountered this but looks like it's not applicable to Craft 3.

I could re-write the whole UsersController class on a custom plugin but maybe there's another way?

1 Answer 1


I believe you could use Freeform's Element Connections to create a user registration form. In the form's Return URL setting it looks like there's some options to create some logic with {{ submission.id }}.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.