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

Forums / Developing with Sitefinity / Extensionless URLs in Sitefinity 3.6

Extensionless URLs in Sitefinity 3.6

44 posts, 0 answered
  1. Richard
    Richard avatar
    24 posts
    Registered:
    25 Apr 2008
    21 Dec 2009
    Link to this post
    Georgi from Telerik told me that this problem was fixed in 3.7 SP2. I had already upgraded to that version using the installer but the instructions are not clear (wrong I'd say) about the necessary steps to upgrade the individual projects.

    I found the new DLLs in /ProjectManager/App_Data/EmptyProject.zip/bin. I copied those and overwrote the corresponding DLLs in the bin directory in my project. 404 errors are now working using sf404.aspx. Unfortunately the 404 error that results from this method always states that sf404.aspx is the file that couldn't be found (if the request was for an extensionless URL). I think that would confuse users of the site so I believe I will use the IIS Rewrite Module instead.

    I also copied the changes over from the web.config in the empty project. It might be a good idea for Telerik to run the Visual Studio Format Document command on this file if we're supposed to manually diff it with our files to get the updates - the majority of the 89 differences I found were just spacing. Many instances of /> without a preceding space, for example.

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    22 Dec 2009
    Link to this post
    Hello Richard,

    You are right that the requested url is always sf404.aspx, but we have changed that for the upcoming service pack. It will be released in the first days of January.

    We have taken care for the upgrades for our next major version - the upgrade process will be fully automatic. 

    Regards,
    Georgi
    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. Adam
    Adam avatar
    33 posts
    Registered:
    23 Feb 2009
    19 Jan 2010
    Link to this post
    Hi Guys,

    I'm running SF 3.6 on IIS 7.

    I tried the following suggested steps and they didn't fix the 404 issue:

    1. Leave this <cms defaultProvider="Sitefinity" pageExtension="" as it is.
    2. Open IIS and map a custom error page for the 404 error handling like this /[YourProjectName]/sf404.aspx

    The entire site breaks when doing step #1 even after adding step 2.

    (I get "Thank you for visiting our web site. Please return soon for updates.")

    Basically, I just want the page group to not throw a 404 if the extension is not in the url:

    http://wellness.rmhp.org/partners/RMHMC
    should forward to
    http://wellness.rmhp.org/partners/RMHMC.aspx
    or http://wellness.rmhp.org/partners/RMHMC/default.aspx

    Please advise. Thanks!
  4. Adam
    Adam avatar
    33 posts
    Registered:
    23 Feb 2009
    19 Jan 2010
    Link to this post
    Also, is there a special reason why the IIS default document functionality doesn't work for subfolders/pagegroups in Sitefinity? I'm suprised this hasn't been fixed yet, since it's such a basic piece of functionality for websites running under IIS.


  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    21 Jan 2010
    Link to this post
    Hi Adam,

    I am not sure why this is not working for you - it looks fine on my end.

    Could you please try to use the another approach for using extensionless url - adding a wildcard mapping in IIS. This way, all requests will go to Asp.Net and therefore Sitefinity. The only thing you should have in this case, is to leave the pageExtension to empty string. 

    Let me know about the results. 

    Regards,
    Georgi
    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.
  6. Adam
    Adam avatar
    33 posts
    Registered:
    23 Feb 2009
    21 Jan 2010
    Link to this post
    Hi Georgi,

    Thanks for your help, but I ended up using a customized solution based on this link http://msmvps.com/blogs/omar/archive/2007/04/29/serve-extensionless-url-from-asp-net-without-using-isapi-module-or-iis-6-wildcard-mapping.aspx, which seems to give me greater control.

    Are there any plans to get IIS default documents working for Sitefinity in the future?

    thanks

  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    22 Jan 2010
    Link to this post
    Hello Adam,

    We have scheduled improvement over the handling of default documents, and url paths for our next major release. Hopefully we will able to find a complete solution which works in all cases. 

    I am glad that you were able to find a solution that works for you. 

    All the best,
    Georgi
    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.
  8. Richard
    Richard avatar
    24 posts
    Registered:
    25 Apr 2008
    02 Mar 2010
    Link to this post
    Any update on when the service pack for 3.7 that improves extensionless URL handling will be released?
  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    02 Mar 2010
    Link to this post
    Hi Richard,

    We are going to release a SP in the middle of March 2010, but it will not include optimization for Extensionless URL. We will rewrite the code for the next major release (4.0).

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  10. Richard
    Richard avatar
    24 posts
    Registered:
    25 Apr 2008
    15 Mar 2010
    Link to this post
    This is disappointing. Based on an earlier message in this thread I was expecting the fix in January and I delayed rolling out my site. I guess I'll have to use the IIS URL rewriter instead.

    Telerik - please try to be better about feature announcements in this forum. I do like knowing what's coming up in future releases but when you say that feature X will be available in release Y and it really doesn't come until a year later that hurts your credibility and makes it difficult for your users to plan. I've seen posts from 2007 promising features that haven't made it into the product yet.

    Perhaps you could have a page with a roadmap for the product and just refer people to that page. Also, I just looked at your PITS system for issue tracking. Sitefinity isn't listed, will it be added to that system? I see the issue tracking system is a beta, since the information is from Q3 2009 I wonder if it's really being used.
  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    16 Mar 2010
    Link to this post
    Hello Richard,

    Thanks for your feedback.

    I agree with everything said by you. We are working on some internal changes which will allow us to have extensive roadmap (for your information, we have it now for the 4.0 release - http://www.sitefinity.com/asp-net-cms-features/roadmap.aspx). We are also working on integrating Sitefinity features/bugs with PITS - which is already showing the Q1 2010 items since yesterday.

    Apologies for any inconvenience on behalf of the team.

    Sincerely yours,
    Georgi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  12. Jon
    Jon avatar
    22 posts
    Registered:
    11 Mar 2010
    02 Apr 2010
    Link to this post
    Was this released? The Mid-march update? I need help with extensionless URLs
  13. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Apr 2010
    Link to this post
    Hi Jon,

    We have released SP3 some weeks ago. If you have any specific questions on the extensionless urls, please let us know. 

    The user manual was also updated with this release - you will find some helpful information about the extensionless urls inside - http://www.sitefinity.com/documents/UserManual_3_7.pdf

    Greetings,
    Georgi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  14. Jon
    Jon avatar
    22 posts
    Registered:
    11 Mar 2010
    02 Apr 2010
    Link to this post
    I created a new thread to address this issue in 3.7.2.  Thanks
Register for webinar
44 posts, 0 answered
1 2