Multilingual force language paths for all languages?

I am wanting all language content to use the language prefixes paths, such that:

http ://
http ://

The documentation indicates the default language will simple take form of:

http ://

Is there any way to enforce the format I am needing?

My toml files look something as follows:

baseURL = ""
languageCode = "en-us"
title = "My New Hugo Site"
theme = "dummy-theme"
disableKinds = ["taxonomy", "taxonomyTerm"]

    title = "My Hugo Site"
    weight = 1
    title = "Mon site Hugo"
    weight = 1

Note: URLs mangled to be able to post.

add this to your config.toml:

defaultContentLanguageInSubdir = true

Check configuration documentation:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.