More in this section
Forums / Developing with Sitefinity / Custom URL Routing in Global.asax

Custom URL Routing in Global.asax

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Cem
    Cem avatar
    0 posts
    Registered:
    02 Jun 2016
    07 Oct 2016
    Link to this post
    http://www.sitefinity.com/blogs/stanislav-velikovs-blog/2013/11/07/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 ? 


  2. Brandon
    Brandon avatar
    0 posts
    Registered:
    28 Sep 2015
    09 Dec 2016 in reply to Cem
    Link to this post
    Any luck on resolving this issue?
2 posts, 0 answered