More in this section
Forums / Developing with Sitefinity / Site wide URL rewrite

Site wide URL rewrite

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. Court
    Court avatar
    20 posts
    24 Nov 2009
    25 Jan 2010
    Link to this post

    If we wanted every page in Sitefinty to be available fromthe root url such as:








    Is there a programmatic way to do so? The challenge is in the sitefinity admin, page grouping will be used a lot to help visually organize possibly a few hundred content pages.  I am aware that we can set the URLrewrite on each individual page but is another way to do so where its site wide change? Maybe through a custom IHttpModule?

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    26 Jan 2010
    Link to this post
    Hello Court,

    Thank you for using our services.

    We do have built in Url rewriting functionality, which uses regular expressions for defining patters which are used in rewriting Urls. You can take a look at the following webinar for more information on Sitefinity Url Rewriter: URL Rewriting In Sitefinity

    If you can not use regular expressions you would have to write your own HttpModule and add it to the website. The best approach here would be to inherit from the Telerik.Cms.Web.CmsHttpModule and substitute the original one in the web.config:
    <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered