I'm trying to redirect users to a particular page after they have logged in.

login url example is


when they log in i want to redirect them to:


but when they navigate to


they will be automatically redirected back to


but only when they are logged in

1 Answer 1


A simple way to do this might be to publish a module with no title in the debug position, and set it to only show for registered users. In it, you can put a javascript redirect like the one found here:


Set Publish it on the page you want to redirect FROM and make it redirect to the page you want it to redirect TO.

Depending on what text editor you're using, you might have to disable the editor to put the code in, and then save the module. If you're using JCE, you can set JCE to allow script without it removing the script when you save.

Your Answer

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

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