How to remove locale from the url?

  • Hello,

    I've just installed Asgard, it looks awesome!

    My question is how to remove the localе abbreviation in the url?
    I will have only one language and don't want urls like this: I want them to be clean - just

    Is there such option?


  • Global Moderator

    Never used single language project, but you could try by setting hideDefaultLocaleInURL = true in config/laravellocalization.php that would probably redirect all localized urls to nonlocalized.

  • Awesome!

    Thank you very much!

Log in to reply