Recently, one of our clients complained that, they had set up a menu accessible to Registered users only.
When someone tries to access that page through the link provided, it should redirect them to login page.
This was working fine until 3.6.x but after upgrading to Joomla 3.7.x the page started redirecting to Home page of the site.
This was really frustrating.
We tested the issue and identified that after upgrading to 3.7.x, Joomla now redirects to component/users/?view=login&Itemid=<home_item_id> as against /component/users/?view=login , which was there is earlier versions
To resolve the issue we created a hidden login menu and it started redirecting as before :
The way to create hidden menu has changed with Joomla 3.7. Below mentioned is the traditional workaround, to know about the new method for creating hidden menu introduced with Joomla3.x please visit
NOTE : The correct fix for this is to ensure that you always have a login menu item – you can set to hidden if you want.