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

Dmitry Dulepov dmitry at typo3.org
Wed Jan 14 21:39:00 CET 2009


Hi!

Steffen Gebert wrote:
> 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".

If I understand correctly, old url is http://www.example.org/oberfranken/ and it must become http://www.oberfranken-xyz.de/, right? So you have something like this in the page tree:

Globe
 |- www.example.org (domain record & rootpage_id)
     |- Oberfranken

Is this correct?

Now you want something like this:

Globe
 |- www.example.org
     |- Oberfranken (domain record here & rootpage_id)

or better:


Globe
 |- www.example.org
 |- Oberfranken (domain record here & rootpage_id)


> 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 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.

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