Use defaultContentLanguageInSubdir but keep root mount point at /

Hi, defaultContentLanguageInSubdir: true works well, except that I’d like to keep the root at http://example.com and not change to http://example.com/en/.

Welcome! :wave:

In that case you probably shouldn’t use defaultContentLanguageInSubdir at all.

What you try to do looks to me the same as this doc example, which says:

all content, sitemap, RSS feeds, paginations, and taxonomy pages will be rendered below / in English (your default content language) and then below /fr in French.

Thank you :slight_smile:

That’s what I would do if I’d start a new blog but I’m trying to migrate from my middleman blog that is already setup like that and like to keep the established link structure.

Is that not possible?

# English (main language):
http://example.com
http://example.com/en/blog-post-1
http://example.com/en/blog-post-2
...

# French
http://example.com/fr/
http://example.com/fr/blog-post-1
http://example.com/fr/blog-post-2
...

... more languages