I have to make a website that has a single craft installation and one database.
Now the site is for a company that owns several garages which should have their own subsite on a subdomain. It should all be multilingual and those subsite/subdomains would have single pages as well as channels for used cars
or new cars
.
Now what I'm wondering is how to set up those subsites.
Their url structure should be like http://subsite.domain.com/{lang}/{single-page}
or http://subsite.domain.com/{lang}/blog/{slug}
I was thinking maybe using a structure per subsite to keep all the content uncluttered in the dashboard and creating a channel for each subsite blog
, used cars section
and new cars section
.
But I'm not really sure what the best way to set this up would be or even how to point the pages/channels to a subdomain.
Would I have to create new multi-environmont configs for each subsite or is there a way to do this automatically or maybe that's not even necessary?
Each subsite will also have users who can only edit that specific subsite. (Maybe something to keep in mind when structuring the site)
Here's a little diagram that might help show what I'm looking for:
Of course I'll be using craft pro for the languages and users.
Any help and tips would be much appreciated. (Feel free to ask for more information if necessary)
Thank you very much in advance