Forums / Setup & design / Login Redirect

Login Redirect

Author Message

John Smith

Monday 17 October 2005 2:43:15 am

Hope someone can help me.

On my website, the starting url after login is the index/default page. For some users/members, I want it to be different. Is it possible.

In other words, Is there anyway to redirect a user after login to a specific part of my site depending on the user level? How can I do that?

Any help?

cheers.

Michael D.

Monday 17 October 2005 3:04:08 am

You can use the hidden form field "RedirectURI" to achive this.

In user/login.tpl search for
<input type="hidden" name="RedirectURI" value="{$User:redirect_uri|wash}" />
and change the value parameter to what you want.

John Smith

Monday 17 October 2005 3:14:03 am

thanks for your kind reply, sorted.

Cheers.