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

Forums / Developing with Sitefinity / redirectToHomePage for non-default cultures

redirectToHomePage for non-default cultures

4 posts, 0 answered
  1. Paul Markham
    Paul Markham avatar
    19 posts
    Registered:
    02 Feb 2010
    12 Sep 2011
    Link to this post
    Hi,

    We are using <localization persistenceMode="PathPrefix" ...>

    Setting <cms redirectToHomePage="false" ...> in web.config only seems to have an effect for the default culture; other cultures still redirect to the home page URL (/de redirects to /de/home).

    How can we make this work for non-default cultures?

    Thanks,

    Paul
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    15 Sep 2011
    Link to this post
    Hello Paul Markham,

    This is a problem with the localization and path prefix. You see that ASP.NET treats the /de path as another folder thus it looks for the default document there and Sitefinity loads your home page. You can try creating a folder /de in your website root and see what will be the result.

    Greetings,
    Radoslav Georgiev
    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. Paul Markham
    Paul Markham avatar
    19 posts
    Registered:
    02 Feb 2010
    15 Sep 2011
    Link to this post
    Hi Radoslav,

    Creating a 'de' folder has no effect I'm afraid.

    Regards,

    Paul
  4. Paul Markham
    Paul Markham avatar
    19 posts
    Registered:
    02 Feb 2010
    05 Oct 2011
    Link to this post
    Hi,

    Do you have any other suggestions, or is redirectToHomePage="false" simply incompatible with localization?

    Thanks.
Register for webinar
4 posts, 0 answered