Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Found the solution. Remove the {controller} from the route registration solved the problem
RouteTable.Routes.MapContentRoute( "listing", "{language}/{node}/{action}/{category}/{id}", new { controller = "ListingPage", action = "Index", category = UrlParameter.Optional, id = UrlParameter.Optional });
Regards,
Raja
Hi,
Based on the below topic,
https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2017/3/custom-routing-with-extra-parameters-in-action-method/
I am trying to create multiple parameters routing. The route config is below
so the url will be /listing/a/1/ or /listing/b/2
I have created the Partial router and it works. However this routing broken the BVN 404. The 404 stopped working after this routing. Basic routing didn't worked for the multiple parameters. Is there any alternative or any sample solution to achieve multiple parameters?
Regards
Raja