Reputation: 562
I need to redirect the user on the login to a component page and not to the control panel.
How can I do this?
thank you
Upvotes: 1
Views: 930
Reputation: 2731
You should be able to give the user the direct link. Like http://www.example.com/administrator/index.php?option=com_contact
.
This will first show him the login form and after a successful login he will be taken to this URL automatically.
Upvotes: 0
Reputation: 19733
Rather than editing a core file which may get overridden if you ever update Joomla, I would suggest using a small plugin for like such as Admin Login Redirect.
Once installed, simply add the following into the extension parameter
option=com_k2
Note: Change com_k2 to whichever extension you wish to redirect to.
Hope this helps
Upvotes: 1