[TYPO3-Solr] Pages get indexed with wrong URL

Schwarzenberg schwarzenberg at uni-leipzig.de
Fri Feb 22 12:01:31 CET 2013


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


More information about the TYPO3-project-solr mailing list