Given a scenario in a web application where the User has to do X before they can proceed to Y, but where the link for Y is always available, we are currently discussing two ways of redirecting the user if they try to navigate to page Y:
- Display page Y with a message and a link back to X.
- Redirect to X automatically but display a an error message overlay after the redirect that indicates why they were redirected.
Which would be more user-friendly or a better user experience and why?