Basically I want to make it so that:
http://website.com/Home/About
Shows up as:
http://website.com/About
The “home” controller showing up in the url would make the url longer for the user to read.
I tried to do the following:
routes.MapRoute(
name: "About",
url: "",
defaults: new { controller = "Home", action = "About", id = UrlParameter.Optional }
);
Could someone help me out please?
Try something like this: