Questions tagged [multi-site]
175 questions
3
votes
1 answer
Can you get the baseUrl for site by handle or id?
I am making a super simple language switcher. And I was wondering if there is a way to get the baseUrl for a site by id or handle, something like this:
Danielle Frappier
- 443
- 2
- 8
3
votes
2 answers
Craft 3 Multi Language Setup
Okay, I am here because I would like to have a site in the following structure:
https://site.com (default english version)
https://site.com/ko (korean)
https://site.com/pt (portuguese)
I would like to use ONE uploads folder to store all of the…
Dan Zuzevich
- 487
- 2
- 18
2
votes
1 answer
Live preview option not working for multi-site functionality
I am working on a site which has the multisite concept. Each site has its own base URL. The issue is that, if I have logged in to the admin with the primary site and access the preview option for the secondary site in the system then it is showing…
Rock
- 23
- 2
2
votes
1 answer
Including CSS and JS files on multilanguage sites
Up till now, all my craft sites were single language. When including CSS and JS files from web folder, i used to use {{siteUrl}} variable, like this:
Such path was rendered to this: