I have such routes:
routes.MapPageRoute("Survey", "Survey", "~/Survey/Survey.aspx") routes.MapPageRoute("Letters", "About/Letters", "~/Pages/Letters/Letters.aspx")
How do I redirect the url like this: / Surveys to the 'Survey' route? Thus, when the user goes to polls, he redirects to / Survey. (Urls for the argument)
I would prefer it if I didn’t have to place the redirect code in the ASPX file itself and rather just have the code in the route rule, it just keeps it simple and centralized.
thanks
Luke
source share