[TYPO3] RealURL single domain multi-tree (multi-language)

Albert van der Veen albert.van.der.veen at xs4all.nl
Fri Sep 28 12:10:12 CEST 2007


Hi Giannis,

That's what I thought, thanks. I was planning to look into the code, but 
don't really have the time at the moment. So probably best to go for the 
multiple domains like en.domain.com etc.

Albert

Giannis Economou wrote:
> Hello...
> 
> I also have tried in the past to do that without separate domains and 
> have found that there is no way to do this. I remember that I was also 
> into the php code and it was obvious that this could not happen as it is 
> now. The reason is that resolutions are based on the "rootpage_id" (the 
> id of the root/homepage) and in the scenario of 2 languages in 1 domain 
> you have 2 separate rootpage_ids (one for each language) - 2 trees to 
> search for pages. If you really need it in one domain, I guess you could 
> write a new class for handling URLs (like the existing 
> class.tx_realurl_advanced.php, but one that honors 2 roots) and it will 
> do it..
> 
> Best regards,
> Giannis Economou
> 
> 
> 
> Albert van der Veen wrote:
>> Hi Mathias,
>>
>> Thanks, your second option was what I had setup and still have. This 
>> seemed to work ok, except for results from indexed search. All the 
>> languages show up in the results as everything is in one tree and no 
>> L-var is used.
>>
>> Your first option is what I had in mind to solve this, but was 
>> wondering if it can be achived using no separate domains.
>>
>> So anyone else for the definitive on this one? :)
>>   
> 


More information about the TYPO3-english mailing list