Multilingual site: Removing language, redirecting all pages to default language

I want to remove one of the four languages my website supports right now and redirect all the pages for that language to a different language (they have the same URL except for the language prefix). How do I do this properly?

State of things right now:

  • removed language navigation from config.toml
  • added
    [languages.la] disableKinds = ['section'] to config which makes all old /la/... pages redirect to 404
  • I still have all ...la.md content files intact

Thanks for any ideas!

Handle this on the server side with URL rewrites. Some hosting providers (e.g., Netlify) allow you to handle this in a _redirects file.