I would like to redirect /admin to page not found instead of going to login page if user is not logged in. I have tried adding authentication in Administration/web.config but to no success. Is there any way i can achieve this?
Even if i route admin to another url, when type the new url /(admin route) it will still opens up the login page. What I want is to route user to 404 instead of the login page for admin if user type /(admin route). Is there any way to do this?
This will change all my url to admin1/path. I still want to remain /admin. Its just that if user not logged in, when user type /admin, it will redirect to 404 not found page instead of /login. If user wants to login, they will login thru /login.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.