[TYPO3-Solr] Pages get indexed with wrong URL
Schwarzenberg
schwarzenberg at uni-leipzig.de
Tue Feb 26 12:01:41 CET 2013
Does nobody has an idea?
Perhaps it's because German is setup as the default language (config.sys_language_uid = 0) ? Would
it perhaps be better to set English as the default Language with sys_language_uid = 0 because
typo3-solr probably makes some assumptions in this direction?
Best Regards, Heiko
> Hello List,
>
> I have a multilangue site with german as default (id=0) and english (id=1) as second language. solr
> has a two-core-setup.
> For some reason, all german pages are indexed with the english URL.
>
> here is the relevant config:
>
> # realurl
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
> '_DEFAULT' =>
> array (
>
> [..]
>
> 'preVars' =>
> array (
> 0 =>
> array (
> 'GETvar' => 'L',
> 'valueMap' =>
> array (
> 'de' => '0',
> 'en' => '1',
> ),
> 'noMatch' => 'bypass',
> ),
> ),
> ),
> );
>
> # typoscript
>
> config.baseURL = {$BASE_URL}
> config.tx_realurl_enable = 1
> config.simulateStaticDocuments = 0
>
> config.uniqueLinkVars = 1
> config.tx_realurl_enable = 1
> config.typolinkCheckRootline = 1
>
> config.sys_language_uid = 0
> config.language = de
> config.locale_all = de_DE.utf8
> config.htmlTag_langKey = en
>
> config.linkVars = L(0-3)
>
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = en
> config.locale_all = en_GB.utf8
> config.htmlTag_langKey = en
>
> plugin.tx_solr.solr.path = /solr-typo3/core_en
> [global]
>
> plugin.tx_solr.solr.path = /solr-typo3/core_de
>
>
>
> what could be wrong?
>
>
> best regards,
> heiko
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
>
More information about the TYPO3-project-solr
mailing list