Modifying the Default Login Path in Joomla 1.5

If you select a menu item that is registered or special access and you are not logged in, Joomla will redirect to a default login page.

This is the default login redirect route:


What if you want a different login path or go to a custom login page based on some condition. You can accomplish this by modifying the default redirect code in JSite::authorize(). JSite is located in /includes/application.php.

Leave a comment