Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Default language in the subdirectory but hosted directly under '/' #196

Open
nataliastanko opened this issue Sep 11, 2021 · 1 comment
Open

Comments

@nataliastanko
Copy link

Is there a simple way to keep all posts in subfolders including the posts in the default_language, but to reroute posts in the default_language to '/' instead of '/default_language' ?

@figgles
Copy link
Contributor

figgles commented Aug 3, 2023

Being a static site generator, this can't do any routing at all.

You need software to route the requests. I set up nginx to do the routing - I based the decision on the browser's language (i.e. Accept-Language HTTP header).

I suggest that this issue be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@nataliastanko @figgles and others