[Typo3] RealUrl - Multiple Domains in Multiple Trees

Helge Vad helge at mereteland.dk
Mon Sep 19 18:26:56 CEST 2005


> My page structure looks like this:
>
> Domain1
> - page a
> - page b
> - page c
> - contact
> Domain2
> - page d
> - page e
> - contact
>
> Almost everthing works perfekt but the contact pages work perfekt.
>
> One of the conatct pages always works correct (shows the
> contact-content). The other contact page shows the content of it's root
> page.
>
> Which of the pages works and which doesn't work seems to be dependent on
> which contact page is cached first after flushing the tables.

Have you remembered to assign constants to

 $TYPO3_CONF_VARS['EXTCONF']['realurl'][$domainX] = array('init'=>...,'pagePath'=>..., 'root'etc.)
 $TYPO3_CONF_VARS['EXTCONF']['realurl'][$domainX]['pagePath']['rootpage_id']= <id root page for siteX>

for each of your domains Domain1, Domain2....DomainN pointing to the same starting page ?

If you only apply constants to some (or even one) of the domains DomainX it will work on and off (seemingly dependent on caching).
This is due to realurl storing some config information as session parameters. As long as you open your browser with the domain for
which configuration has been made, you will not se the problem.

-best, Helge Vad







More information about the TYPO3-english mailing list