For example,
I have following path in "Redirect conditions"
forum
user

Under "Destination URL settings" I would like to redirect to different destination based on the above.
For instance,
forum -> redirect back to forum
user -> redirect to front page

Comments

3CWebDev’s picture

Yes, that is exactly what this module does. For 'forum' or 'user' you will need to come up with the scenario for each one and write a condition that checks for that scenario (you cannot use a path for the condition, it must be a condition to check for, ie user belongs to a specific group, etc). Then, for each condition you would simply return the path to be redirected to.

eporama’s picture

The default behavior for Drupal is to return you to the page you were viewing when you logged in if you're using the user_login_block. So, if I'm reading your question right, you can actually skip the forum condition and redirect only on "user". The simplest way to redirect to the homepage is to return a static <front>.