[TYPO3-english] realurl path showing only default language

Katja Lampela katja.lampela at lieska.net
Tue May 31 06:13:52 CEST 2011


Hi,
And thank you Dmitry.

> When RealURL encodes paths, it expects L parameter in all URLs. It does
> not use anything from TS but looks to the URL only. Do you have
> "config.linkVars = L" set?

Yes

> You may also want to remove ifDifferentToCurrent and see if it helps.
>

I deleted, but no help.

Here is my template setup (I've tried without the OR part too):

config.simulateStaticDocuments = 0
config.tx_realurl_enable = 1
config.uniqueLinkVars = 1 (deleting this doesn't help)
config.linkVars = L

[globalVar = GP:L=0] OR [globalString = IENV:HTTP_HOST = www.domain.fi]
config.language = fi
config.locale_all = fi_FI
config.locale_all = fi_FI.UTF-8
config.baseURL = http://www.domain.fi/
[GLOBAL]
#ENG
[globalVar = GP:L=1] OR [globalString = IENV:HTTP_HOST = www.domain.com]
config.baseURL = http://www.domain.com/
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[GLOBAL]

And here is the .htaccess

RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php

-- 
With kind regards

Katja Lampela
*Lieska-tuotanto*
www.lieska.net


More information about the TYPO3-english mailing list