I'm maintaining two user groups in front end. They are customer and retailer. There are two menu items for them to login. That means two login sections. Therefore there are two menu items are assigned to same view - login. If there is an error occurred when login to system it redirect first menu item which is assigned to view - login. That means retailer section.
- Retailer login - 106
- Customer login - 107
It always redirects to retailer login. This happens when we enable Search engine friendly urls only. I want to redirect them specific logins when error occurred.
Is there any solution for handling this kind situation please?