More in this section
Forums / General Discussions / Extensionless Urls in Sitefinity5.0

Extensionless Urls in Sitefinity5.0

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. Vaiga
    Vaiga avatar
    26 posts
    27 Feb 2012
    30 Apr 2012
    Link to this post
    Hi All,

           Can any one give me a good idea about url without extensions in sitefinity ie i want to access a page with out entering the .aspx extension.Am using sitefinity5.0

    ' http://localhost:1900/Default.aspx '   This is the actual url.I want to access the same page by entering url like this ' http://localhost:1900/Default ' .

  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    30 Apr 2012
    Link to this post

    By default, all urls for pages created in Sitefinity are created without any extension. are you by any chance migrating from Sitefinity 3.7? these urls are transferred including the extension

    However you can remove page extensions from Sitefinity with the following sample code:

    using (var api = App.WorkWith()){
        var pages = api.Pages().LocatedIn(PageLocation.Frontend).ThatArePublished()
            .ForEach(page =>
                page.Extension = null;

    hope this is helpful!
2 posts, 0 answered