[TYPO3-english] realurl on a website with several rootpage templates
Dmitry Dulepov
dmitry at typo3.org
Mon Apr 13 13:00:14 CEST 2009
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.
--
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/artificial-intelligence.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs
More information about the TYPO3-english
mailing list