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

Forums / Bugs & Issues / Page group not redirecting to first page

Page group not redirecting to first page

5 posts, 1 answered
  1. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    08 Feb 2013
    Link to this post

    We have SF5.3 running in our development environments, Win 7 with IIS 7.5, and we're having this problem:

    Example of a real Sitefinity page: /myPageGroup/home.aspx

    1. Navigating to /myPageGroup results in a 404.
    2. Navigating to /myPageGroup/ results in a 404.
    3. The generated 404 is an IIS 404, not the 404 page we have set in web.config. 
    4. Apparently, these requests go to the StaticFile handler, and are not touched by asp.net.

    This is driving me mad.. it works fine when I run a new SF53 site from the project manager, but when I run the "real" site from IIS, this happens.

    Thanks in advance!

    Michael Snyder
    ConnectionsAcademy.com

  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    13 Feb 2013
    Link to this post
    Hi,

    Can you try with the following snippet in you web.config under the marked line:

    <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="false" />
        <!--<httpErrors errorMode="Custom" defaultResponseMode="Redirect">
          <remove statusCode="404" subStatusCode="-1" />
          <error statusCode="404" subStatusCode="-1" path="YouCustomErrorPage" responseMode="ExecuteURL" />

    Greetings,
    Pavel Benov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    13 Feb 2013
    Link to this post

    Thank for the reply Pavel -- unfortunately, this didn't do anything. This is an IIS level error; these 404s aren't going through asp.net (see point 4 in my original post).

  4. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    18 Feb 2013
    Link to this post
    Hello,

    The httpErrors section is how IIS will handle the errors. It is basically the same as to open IIS and go to your project's IIS ErrorPages and assign them from there - see image. For more information please refer to the following article.

    If you are still experiencing troubles could you please share how your error pages are configured in web.config and IIS?

    Kind regards,
    Pavel Benov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  5. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    19 Feb 2013 in reply to Pavel Benov
    Link to this post

    Thanks for the extra detail, Pavel. This did the trick.

5 posts, 1 answered