Custom URL Routing in Global.asax

Posted by Community Admin on 04-Aug-2018 11:57

Custom URL Routing in Global.asax

All Replies

Posted by Community Admin on 07-Oct-2016 00:00

www.sitefinity.com/.../adding-custom-route-for-static-web-forms-in-sitefinity-sites

I applied this method, but I can't reach the page. 

System.Web.Routing.RouteTable.Routes.MapPageRoute("CustomPageRoute", "customroute","~/CustomPage");

when I write the www.blabla.com/customroute to the browser

IIS can't find the page. But I have a page with name CustomPage in my CMS. I'm creating page using CMS. I mean I dont have a page in my folders with name CustomPage.aspx, but I have page in CMS with this name that is CustomPage, its url is www.blabla.com/custompage .

How can I route my urls ? 


Posted by Community Admin on 09-Dec-2016 00:00

Any luck on resolving this issue?

This thread is closed