Click here to Skip to main content
16,018,534 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my web application I want to reduce my website url..when I am going to access Admin side I have to type the entire url like "www.this.com/Admin/AdminLogin.aspx" but i want to reduce this url ,it should be like'www.this.com/admin' how can i do that..please help me..

What I have tried:

I have set AdminLogin page as a start up page but then to it is not working
Posted
Updated 18-Nov-16 21:41pm

1 solution

You can either add a "admin.aspx" file to your root folder which causes a redirect to your AdminLogin page, or set up a custom 404 error handler to do the redirect instead.
The 404 version is more flexible, as it allows you to display a custom "Sorry, I haven't got that" page or redirect to admin login, user login, or any other page on your site via a short-cut name.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900