i am using Joomla 2.5 inbuilt registration Form .i need to redirect to 2 different pages after different type of user log-in .Can this possible ? .Now my log-in menu redirecting every user to one constant page After successful log-in .

2 Answers 2


Try this,

Create a User Plugin for handling user types and redirect accoording to your requirement. you can use onUserAfterLogin. Details can be found here.

for redirecting just use.

$app = JFactory::getApplication();
$app->redirect('url starts with index.php');

Hope its helps..

  • i am using "Redirect on Login" components to re re-direct .Do you have any idea about this components? Nov 3, 2014 at 5:36
  • No but once you wrote a plugin for this based on onUserAfterLogin then immediately redirect to your required pages will work fine for your requirement.
    – Jobin
    Nov 3, 2014 at 5:51
  • you're welcome :)
    – Jobin
    Nov 3, 2014 at 6:09
  • hey do you now how to change user group ? Nov 3, 2014 at 6:29
  • from backend ? go to users menu.
    – Jobin
    Nov 3, 2014 at 6:35

Several extensions are available at JED will allow you to do this. Both free and paid alternatives can be found.

You can redirect the users based on user group or access level, or on a per-user basis. There are also some plugins that handle failed login attempts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.