[TYPO3-dev] realurl: new domain causes wrong link generation
Dmitry Dulepov
dmitry at typo3.org
Thu Jan 15 08:47:20 CET 2009
Hi!
Steffen Gebert wrote:
>> Globe
>> |- www.example.org
>> |- Oberfranken (domain record here & rootpage_id)
> yes, right!
> Image a tree where domains can be almost everywhere ;)
This is a problematic configuration in TYPO3. nested subdomains are not well supported. RealURL supports them fully since past February but the rest of TYPO3 still has problems with it.
Is it possible for you to move subdomain page to Globe level and use mount points in the old place to "link" to a new domain? With mount points you can show any part of the tree as if it is a direct child of mount point.
> - Clearing cache solves the problem (for a while) - so I think a request using the old URL "poisons" cache
Yes, it can. Mount points should solve this problem.
> - Every page with an own domain has is_siteroot in page properties and rootlevel in template set; has domainrecord for www.domain and without www redirected to www.
> - we use realurl_autoconf.php (which was rewritten after update to sys_domain (remember my patch ;) )). The new domain is really in config array with right rootpage_id.
Both great!
> - realurl debug mode doesn't give me anything than starting encode and entering encodeSpURL; I will have a look after next cache clearing (but don't want to do this while searching for the root of this problem).
There is very few message there. I think I need to enhance logging...
> What I noticed: Is it normal that many pages have multiple entries in tx_realurl_pathcache with same hash, expiration time and page_path (and mpvar='') ? But this is the case for many pages, not only oberfranken/*
I cannot answer for sure (this is a compex part of the code) but I think it is not normal.
--
Dmitry Dulepov
TYPO3 core team
Mr. Harris: People say that you were the last person to speak with Jordon...
Is that true?
Cameron: I don't know. Are you asking me if people say I was the last person
to talk to Jordon? Or are you asking me if I was the last person
to talk to her?
Mr. Harris: I guess I'm asking if you were.
Cameron: I don't know.
More information about the TYPO3-dev
mailing list