问题
Any one can explain, how to setup multiple websites on the single TYPO3 installation?. TYPO3 have multisite concept. But i have searched through internet, no documentation found.
回答1:
As far as I can say:
- Edit the page you want to behavior as root page
1.1. CheckUse as Root Page
(Tab behaviour) - Setup a site configuration (site configuration -> sites ->
Add new site configuration for this site
)
2.1 Set aSite identifier
(content dont affect the domain; its just used for the folder naming)
2.2 SetEntry Point
to either your domain or to/
2.3 Variants can be added later and you don't need to ind about as long as you work with just one environment (production; add variants if you also got a local instance with the same code base and a live db dump)
2.3 Switch to Languages and set your default language (maybe english)
2.3.1 Choose an available language
2.3.2 Set an entry point (by default the/
should work fine for defualt but you won't get a custom language url snippet generated for/
)
2.3.3 Choose the availableLanguage ID
2.3.4 Choose the correctLanguage Key for XLF Files
2.3.5 Choose the correctLocale
(I prefer to setUTF-8
at the end of the locale ->en_US.UTF-8
orde_DE.UTF-8
)
2.3.6 Choose the correctTwo Letter ISO Code
Now you should be fine. Just repeat this for every Domain and beginning with step 2.3.1 for every language on the domain
回答2:
There's an old topic on typo3 wiki about multidomain: https://wiki.typo3.org/Multidomain
I believe the main idea is the same:
- Create a page. On "Behavior" tab set "Use as root page"
- Add a domain record to this page
- Add a template
Also I should notice there's some magic with sorting root pages so I recommend to create all root pages with the same parent
来源:https://stackoverflow.com/questions/52480063/how-to-setup-multiple-websites-on-single-typo3-v9-installation