I solved this by using this mapping of route.
routes.MapRoute(
name: "CMS",
url: "{controller}/{category}/{id}",
defaults: new
{
category = UrlParameter.Optional,
page = 36,
action = "Content"
},
constraints: new
{
controller = "Home"
}
);
I put the category optional and controller as constraint, so it worked with me.