You need to define a route to use your publicationId
parameter for your Content
controller
In your App_Start\RouteConfig.cs
add above the Default
route:
routes.MapRoute(
name: "ContentPage",
url: "Content/{action}/{publicationId}",
defaults: new { controller = "Content", action = "Page", publicationId = UrlParameter.Optional }
);
If you want it to be specific only to the Page
action:
routes.MapRoute(
name: "ContentPage",
url: "Content/Page/{publicationId}",
defaults: new { controller = "Content", action = "Page", publicationId = UrlParameter.Optional }
);