Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

folderurl and "language-to-url" an option for every pageroot #4232

Closed
leo-unglaub opened this issue Apr 23, 2012 · 5 comments
Closed

folderurl and "language-to-url" an option for every pageroot #4232

leo-unglaub opened this issue Apr 23, 2012 · 5 comments

Comments

@leo-unglaub
Copy link

Hi Leo,
it would be very helpful for contao multisite installations if the features folderurl and "language-to-url" are able to configure for every root site. Thant would be helping a lot.

Thanks and greetings
Leo

@leofeyer
Copy link
Member

Has been answered before and is still not possible.

@leo-unglaub
Copy link
Author

I don't find the tickets, do you have a tickete reference for me?

@xchs
Copy link
Contributor

xchs commented Apr 23, 2012

That might be a ticket of mine: #3571 :)

@leo-unglaub
Copy link
Author

Hmm, @leofeyer to get the root page from the url you only need everything before the tld. So if you have www.example.com/index.html or www.example.com/de/index.html, you still just need the www.example.com for the page root in tl_page. Or do i get this wrong?

@leofeyer
Copy link
Member

You did get it wrong :) This only works for empty domains, because if there is an alias, Contao does not look for the root page but for the aliased page. And to know which fragment of the URL is the alias, the system needs to know whether there is a language fragment and whether the alias is only one fragment or can consist of multiple fragments (folder URLs).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants