+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / group default url without extension

group default url without extension

3 posts, 0 answered
  1. Jason Green
    Jason Green avatar
    53 posts
    Registered:
    18 Sep 2009
    05 Oct 2009
    Link to this post
    I have seen manyposts asking about allowing folders to load without the actual page defined...for example http://www.example.com/aboutus/should load as if the user typed in http://www.example.com/aboutus/default.aspx.The posts that I have seen basically come down to that function not available /possible with SiteFinity.  I would like to bring it up again and ask why not?
     
    It seems to me theURL Rewrite code for sitefinity should automatically detect when a page name isnot defined, and automatically rewrite to the default page for the given group.Then using the newer features for IIS 7 we can enable:
        <system.webServer><modulesrunAllManagedModulesForAllRequests="True">
    and be set withouthaving to make any modifications to IIS.
     
    If Telerik isn'tdoing this / going to be doing this directly, can someone tell me the policy onmaking changes to sitefinity myself, and where I should start to make thisadjustment for my sites?

    If this is done already, can someone point to directions on how to set it up?  My sitefinity does not allow me to add a non-page URL in under the Page URLs as it always says "All optional URLs should be unique!" 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    06 Oct 2009
    Link to this post
    Hi Jason Green,

    From the user's perspective it is not possible to get this requirement working. The solution is related to a base logic where some classes are not accessible. Also it requires configuring IIS and WildCard mappings. Your suggestion is reasonable and we will try to implement this feature for the next SP of Sitefinity 3.7.

    All the best,
    Ivan Dimitrov
    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.
  3. Jason Green
    Jason Green avatar
    53 posts
    Registered:
    18 Sep 2009
    06 Oct 2009
    Link to this post
    I could see "Thesolution is related to a base logic where some classes are notaccessible" but "itrequires configuring IIS and WildCard mappings" is not accurate.  For IIS 7 if the"modulesrunAllManagedModulesForAllRequests" setting is set to true in the web.config the.net pipeline is run with every request (images, scripts, pages, folders,everything).  That would allow the feature to be used without any special IISsettings.

    To get this type of thing to work for IIS 5 I used tosetup a special 404 error page that would lookup the requested page and wouldclear the error headers and do a server.transfer to the correctpage. 

    For IIS 6 I have gotten it to work too - I think byprocessing the request in the app_request functions in global asax.  I don'tremember what other settings I had to make for it though.

    I think this is a pretty important feature for most ofus. I would like to use sitefinity as the foundation for a few larger websites,but not having full URL control will prevent this as SEO is one of our the mostimportant factor we have to take into account going forward.

    Actually another feature for SiteFinity that I think alot of people would find very useful is a URL Rewrite screen where the user candefine a request URL, a redirect URL, and what (if any) headers should be passedto the client.  That way they can post virtual urls that look real, permanentredirect, and temporary redirects easily.  This is on my list of enhancements toSiteFinity I need to build, but if you guys do it or are planning on doing itthat would help free me up to build more domain specific features.

    I would be happy if the solution was limited to IIS 7 asmost production environments are going that way anyway.
Register for webinar
3 posts, 0 answered