Hi there
I would like to create a url just like followings :
http://localhost/news/announcement/index http://localhost/news/health/index http://localhost/news/policy/index
announcement, health, policy are controller
so I make a new url route map like this :
routes.MapRoute( "News", "news/{controller}/{action}/{id}", new { controller = "Announcement", action = "Index", id = "" } );
It works fine but, following two urls show same page :
http://localhost/news/announcement/index http://localhost/announcement/index
I would like to prevent second url.
What shoud I do?
Thanks Kwon