[TYPO3-english] realurl on a website with several rootpage templates

Fernando falcifer2001 at yahoo.es
Tue Apr 14 16:01:26 CEST 2009


Sorry Dmitry 
I didnt pay attencion to my example. Is it ok?

-page 1
--subpage 1.1
--subpage 1.2
-page 2
--subpage 2.1
--subpage 2.2

page1 and page 2 have its own template. I dont have subdomains. I looking 
for something like

if www.dom1.com then rootPageId= 1
if www.dom1.com/something/ then rootPageId= 2

$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.tld']['pagePath']
['rootpage_id'] = 1;

baseURl=www.domain1.tld

$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.tld/something/']
['pagePath']['rootpage_id'] = 2;
baseUrl =www.domain1.tld/something/



El Mon, 13 Apr 2009 14:00:14 +0300, Dmitry Dulepov escribió:

> Hi!
> 
> Fernando wrote:
>> page1 and page 2 have its own template. I dont have subdomains. I
>> looking for something like
>> 
>> if www.dom1.com then rootPageId= 1
>> if www.dom1.com/something/ then rootPageId= 2
>> 
>> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.tld']['pagePath']
>> ['rootpage_id'] = 123;
>> 
>> baseURl=www.domain1.tld
>> 
>> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.tld/something/']
>> ['pagePath']['rootpage_id'] = 456;
>> baseUrl =www.domain1.tld/something/
>> 
>> is it ok?
> 
> Not ok. Your configuration does not correspond to what you want. You
> want pid=1 for www.dom1.com but you do not have www.dom1.com in
> configuration and you have totally different pid there.



More information about the TYPO3-english mailing list