I am using Symfony1.4 for my project. I am using a login pop up which can be used to login from all pages in the site. For this I am using SfGuard Plugin. Normally after successful login, the system redirects to the refer page. i.e to the page from where it is logged in. But there are several pages in the site from which if logged in, should be redirected to the home page. Please help me on this.