redirection if user is already logged in

by Dimitrios Markopoulos   Last Updated November 09, 2017 08:07 AM

I have a drupal 7 installation. In my homepage I have only two forms (login and register) so I need when someone leaves the site and he is logged in, when he visits it again that he redirect to another page (similar to facebook functionality). Currently he is redirected to user profile page. I tried to use rules and I put in event 'Drupal is initializing', in condition path to 'check=[site:url]' to be redirected but with no effect.

Any ideas?

Tags : users rules


Related Questions