[TYPO3-english] RealURL, multilanguage with _DOMAIN and incorrect root page URL

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Aug 18 09:18:42 CEST 2011


Hi!

Victor Livakovsky wrote:
> I have a multilanguage website, where each language has it's own domain.
> Everything is cool, but the problem on a root page appears: any link,
> generated with typolink to this page (id=1) looks like this: a
> href="http://www.german-domain.com/http://www.german-domain.com/".
> Language menu generates such a link to English version: a
> href="http://www.english-domain.com/http://www.german-domain.com/"
> Same situation with English version of a website. Link to German version
> looks like this: a
> href="http://www.german-domain.com/http://www.english-domain.com/" Link
> to root page: a
> href="http://www.english-domain.com/http://www.english-domain.com/"
>
> What I did wrong?

RealURL configuration looks ok. Often such problems happen in extensions 
when they prepend URLs without analyzing the URL first. This problem exists 
in many extensions, even popular ones. Are you sure wrong links come from 
typolink and not from the badly coded extension?

-- 
Dmitry "itoldyou" Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/



More information about the TYPO3-english mailing list