getgrav / grav-plugin-langswitcher

Grav LangSwitcher Plugin
https://getgrav.org
MIT License
28 stars 26 forks source link

langswitcher with multisite setup ? #26

Closed dimitrilongo closed 2 years ago

dimitrilongo commented 7 years ago

Do you have an idea how to use langswitcher in a multisite environnment ?

Here's my folder structure

- public_html
-- user
--- sites
---- site A
---- site B

so for example home page of site A (same issue with all pages) http://domain.com/sitea

language url 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

in system.yaml :

pages:
  redirect_default_route: true

Thanks for info

rhukster commented 2 years ago

cleaning up old tickets...

multisite might be a problem with multilang. Really have not run into many people attempting this, you may be the only one!