Try Now
More in this section

Forums / Developing with Sitefinity / URL Re-writing

URL Re-writing

1 posts, 0 answered
  1. Basheir
    Basheir avatar
    1 posts
    04 Mar 2015
    08 Nov 2015
    Link to this post
    Hi there, 

    We are working on a SF feather project (8.1). We need to achieve the following:

    1- Overwrite the built-in routing in the CMS, so that we can use our own routing. 

    Below is the code that will add our routing, but we are not able to change the routing to be able to change the page name order in the url

    We need to achieve the following url Structure 


    Here is our code:

    void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs e)
                if (e.CommandName == "RegisterRoutes")

    private void RegisterRoutes(RouteCollection routeCollection)
               // routeCollection.IgnoreRoute("{resource}.axd/{*pathInfo}");

                    new { controller = "Page", action = "Index", id= UrlParameter.Optional }

1 posts, 0 answered