Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Multisite setup + langswitcher

Started by Muut Archive 10 years ago · 2 replies · 554 views
10 years ago

Hello Grav

I have followed documentation on learn.getgrav.org and set a multisite setup.
It's working well, except for languages.

file structure user/site/<subdirectory> gives localhost/<subdirectory>
where I would like localhost/***active-language-prefix***/<subdirectory>

Any idea?

10 years ago

Ok I have succeded in having languages with subdirectories.

9 years ago

@tidivoit hi i have same issue here https://github.com/getgrav/grav-plugin-langswitcher/issues/26

Here's my folder structure

TXT
_ public_html
__ user
___ sites
____ site A
____ site B

so for example home page of site A (same issue with all pages)

TXT
http://domain.com/sitea

language url :

TXT
fr: http://domain.com/sitea
en: http://domain.com/en --> instead of http://domain.com/sitea/en
de: http://domain.com/de --> instead of http://domain.com/sitea/de

i don't understand :

I have succeded in having languages with subdirectories.

Thanks for info

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1281 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago