I have this code below that I want to redirect them to home if they are logged in, but I just don't know how to go about it.. what is the best way to redirect a user, the fastest and best way overall inside a tpl file?
{if isset($smarty.session.user.id)} redirect here? {/if}
How can I do this? and what is the best way...