Redirect user to an appropriate error page