I have created a area named "User" in my mvc project. So now i can access that area using the url mysite.com/user.
Now can i change the name of the area in url ? i want to access my area using the url mysite.com/admin
I can do this by changing the folder name of the "user" area. But i need to modify lot of files if i change my folder name. So is there any other way to show different name in url ? using areaRegistration.cs ?
In your UserAreaRegistration file set up something like this:
And point to the controller/action etc that you want.