[TYPO3-dev] realurl: new domain causes wrong link generation
Steffen Gebert
steffen at steffen-gebert.de
Wed Jan 14 21:31:33 CET 2009
Hi list,
we have a site with 4 levels where domains can be set or not (default in rootlevel, district, county and city itself). So we haven't flat structure but domains scattered in the whole tree (I know this is not recommended - but it's so...).
Since a district got a new domain some days ago (first time since cooluri to realurl migration) it was clear that the URLs in the whole district will change. No problem so far (we thought).
Imagine, site www.example.org/oberfranken got it's own domain www.oberfranken-xyz.de. Of course there are many requests to URLs coming from search engines to www.example.org/oberfranken/. This is no problem as long as the pages/links are already cached. But if the cache was empty then links are generated wrong (www.oberfranken-xyz.de/oberfranken/...) which always results in "path segment not found".
Has anybody already solved this problem? I think I have to dig into realurl this night - but before I'd like to ask here. Unfortunately my rewrite rule from www.example.org/oberfranken/ to www.oberfranken-xyz.de doesn't help out (although the rewrite works as expect).
I think there should be a check, if one page in the path has it's own entry in realurl_conf and then force a redirect or sth. like this.
This is was realurlmangement tells me for site /oberfranken/start:
Language: Default
Path: oberfranken/start
Expiration: none
Root Page ID: 28
Language: Default
Path: start
Expiration: none
Root Page ID: 441
Language: Default
Path: oberfranken/start
Expiration: 04. 02. 2009 - 00:00:00
Root Page ID: 28
Language: Default
Path: oberfranken/start
Expiration: 04. 02. 2009 - 00:00:00
Root Page ID: 28
Language: Default
Path: oberfranken/start
Expiration: 17. 02. 2009 - 00:00:00
Root Page ID: 28
Language: Default
Path: oberfranken/start
Expiration: 17. 02. 2009 - 00:00:00
Root Page ID: 28
Any help appreciated!
Steffen
More information about the TYPO3-dev
mailing list