I've just recently started working with Pimcore in my work and I'm now on a project consisting of three languages each in their seperate tree.
Today the sites URL is my-site.com/LANGUAGE/sub-page For example: my-site.com/se/about
But what we would want to have is LANGUAGE.my-site.com/sub-page. For example: se.my-site.com/about
I've tried using the static route tool but couldn't get it to work at all and my knowledge of pimcore is somewhat limited. I found the Pimcore documentation on static routes (HERE) but I didn't find it all that helpful.
Do I need a controller and an action to handle this. Or can it be done simply with the static route tool?
EDIT: I've tried to use the "domain tool" from when you right-click a site. But this only works if I change in the hosts file of the computer by setting 127.0.0.1 to be connected to us.MYSITE.com. Won't this be an issue for when the site goes live? Since the users don't have my hosts file. That is why I went down the road of static routes.