[TYPO3-english] RealURL, multilanguage with _DOMAIN and incorrect root page URL
Tomaz Zaman
tomaz at optiss.si
Thu Aug 18 22:49:22 CEST 2011
Dmitry, is it possible to use _DOMAIN in a way that L GETvar would not
be removed from the URL?
I'm asking because I have a site with 9 languages, but ony 3 have
corresponding domains.
The needed functionality would then look like this:
www.domain.com/page-title-english
www.domain.com/dk/page-title-danish
www.domain.com/no/page-title-norwegian
www.domain.fi/page-title-finnish
www.domain.de/page-title-german
(I got a bit of a workaround, 'urlPrepend' =>
'http://www.domain.com/no' (in _DOMAINS encode), but the problem is
that this breaks tt_news pagination, and I imagine it would break other
plugins' GET vars as well)
I have already submitted this in bugtracker and I'm willing to pay for
a solution, because it's an important functionality for the client.
Thank you
On 2011-08-18 20:29:49 +0000, Victor Livakovsky said:
> Hi, Dmitry.
>
>> 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?
>
> Thank you for your reply.
> I spent many hours trying to find a reason, and finally I found it -
> had to kill the line from 'init' section of realURL configuration:
> 'emptyUrlReturnValue' => true
> Then no url is prepended to empty root page link, since it is prepended
> already by 'urlPrepend' from _DOMAINS configuration.
--
----------------------------------------------------------------
Tomaz Zaman, certified TYPO3 integrator
http://optiss.si | info at optiss.si | +386 30 651 645
More information about the TYPO3-english
mailing list