I is it possible to create a url aliasing for a controller/action without creating a new controller?
mypage.com/Hello/World
I want that the page
mypage.com/Hi/Universe
will actually show the content of /Hello/World with how creating a Hi controller.
Thanks
Update
I have a controller:
OpenRealAccountController with action Start.
I want to rout GlobalAccount/StepOne to show the contents of: OpenRealAccount/Start
This is what I have added to the method: RegisterRoutes:
routes.MapRoute(
"GlobalOnBoarding_Change",
"GlobalAccount/StepOne",
new { controller = "OpenRealAccount", action = "Start" });
The problem is that I am getting : "The resource cannot be found."
Yes use routing in the global.asax.cs file:
hello/worldthat points to the controller andaction
hi/universethat also points to the samecontroller action
An example would be: