I have an issue creating a new locale, I already have two set up 'en_gb' and 'en_au' and have added a third 'fr'.

I have added the new locale to general.php:

'.com' => array(
  'siteUrl' => array(
        'en_gb' => 'https://xxx.com/',
        'en_au' => 'https://xxx.com/au/',
        'fr' => 'https://xxx.com/fr/'
  'devMode' => false

And have enabled that locale on the section with exactly the same settings as the others:

When I switch to the French locale on an entry I can live preview without a problem, but when I actually publish the page and visit it the entry cannot be found.

I'm well and truly stumped on why I can't access the published page.

When creating the locale I did have issues with failed tasks re-saving entries which I spent a lot of time trying to debug with this guide without luck and with less hair. Would this be a cause considering the locale shows on an entry and the live preview works?


Is the /fr/ directory created in your public_html folder? https://docs.craftcms.com/v2/localization-guide.html#step-5-set-up-the-files

Maybe try making a totally new entry for all 3 locales.

  • This is of course the correct answer, thank you so so much, I'm an idiot.
    – dmatthams
    May 3 '18 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.