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

Forums / Developing with Sitefinity / Localization URL structure

Localization URL structure

2 posts, 1 answered
  1. Webteam
    Webteam avatar
    28 posts
    Registered:
    30 Nov 2009
    05 Feb 2010
    Link to this post
    We have setup localization in a site as follows

     <localization defaultProvider="Sitefinity" autoSetClientLanguage="true" persistenceMode="PathPrefix" defaultCulture="en" allowSpecificCultures="True"  cultures="en,en-GB,es-ES,fr-FR,de-DE,it-IT,ja-JP,ko-KR,pt-BR,zh-CN,zh-TW,nl-NL,da-DK,nb-NO,sv-SE">
        
    By default the url structure is:    /en-GB/page.aspx

    whereas we would like to use the following structure:   /en/gb/page.aspx

    does anyone know a way to override/alias just the locale specific part of the url in sitefinity?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Feb 2010
    Link to this post
    Hello David Desjardins,

    I regret to inform you that your requirement is not achievable. The PathPrefix is appended right after the application name. The application will assume that gb is another page and page is a subpage of gb in the link like this one you want to have -  /en/gb/page.aspx.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
    Answered
2 posts, 1 answered