How to remove /en in url



  • If I create a website with a single language (English), I don't need to have /en in url.

    Rather than

    http://www.mywebsite/en/about
    

    I'd like to have

    http://www.mywebsite/about
    

    What is the best way to achieve this?



  • Set the hideDefaultLocaleInURL in /config/laravellocalization.php to true

    Not sure though what happens if you update AsgardCMS


Log in to reply