Forum Discussion

matthieul's avatar
7 years ago

redirection many locale

Hello Lithosphere, Context : I have a default locale (en) and an other fr I have to set a default locale from user preferences and redirect it if user go to root url  My problem :  My code works ...
  • Parshant's avatar
    Parshant
    7 years ago

    matthieul, replace your code with this in first condition

    <#if !user.anonymous && page.name == "CommunityPage">

     It will work like a charm.