[TYPO3-dev] realurl: new domain causes wrong link generation

Steffen Gebert steffen at steffen-gebert.de
Wed Jan 14 22:19:22 CET 2009


Thanks for your FAST reply, Dmitry!

Dmitry Dulepov wrote:
> Globe
>  |- www.example.org (domain record & rootpage_id)
>      |- Oberfranken
> 
> Is this correct?
yes
 
> Now you want something like this:
> 
> Globe
>  |- www.example.org
>      |- Oberfranken (domain record here & rootpage_id)
yes, right!
Image a tree where domains can be almost everywhere ;)

> I do not think digging will help. It is better if you describe the
> structure of your web site, then we can figure out how to configure
> RealURl for your page structure.
Okay, I will give as much information as possible...

- Clearing cache solves the problem (for a while) - so I think a request using the old URL "poisons" cache
- 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.
- 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).
- TS setup: config.tx_realurl_enable = 1
config.simulateStaticDocuments = 0
config.baseURL = http://www.example.org/
config.typolinkEnableLinksAcrossDomains = 1

What else can I tell you? TYPO3 4.2.3, realurl 1.5.2 (I see a fix "issues with _DOMAINS" in 1.5.3 but I don't think this affects us - but I will update later). Please give me hints, what you need for analysis!

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/*

Big THANKS!
Steffen




More information about the TYPO3-dev mailing list