How to setup multiple websites on single typo3 v9 installation

坚强是说给别人听的谎言 提交于 2020-12-12 02:14:12

问题


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:

  1. Edit the page you want to behavior as root page
    1.1. Check Use as Root Page (Tab behaviour)
  2. Setup a site configuration (site configuration -> sites -> Add new site configuration for this site)
    2.1 Set a Site identifier (content dont affect the domain; its just used for the folder naming)
    2.2 Set Entry 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 available Language ID
    2.3.4 Choose the correct Language Key for XLF Files
    2.3.5 Choose the correct Locale (I prefer to set UTF-8 at the end of the locale -> en_US.UTF-8 or de_DE.UTF-8)
    2.3.6 Choose the correct Two 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:

  1. Create a page. On "Behavior" tab set "Use as root page"
  2. Add a domain record to this page
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!