[TYPO3-english] RealURL home page language redirect
Kaya Basharan
kayabasharan at hotmail.com
Wed Sep 22 08:44:29 CEST 2010
>> From: bjoern.peder... at frm2.tum.de
>> Date: Tue, 7 Sep 2010 09:49:38 +0200
>> To: typo3-english at lists.typo3.org
>> Subject: Re: [TYPO3-english] RealURL home page language redirect
>>
>> Am 07.09.2010 09:12, schrieb Kaya Basharan:
>> >
>> >> From: kayabasha... at hotmail.com
>> >> To: typo3-english at lists.typo3.org
>> >> Date: Mon, 6 Sep 2010 14:02:57 +0000
>> >> Subject: Re: [TYPO3-english] RealURL home page language redirect
>> >>
>> >>
>> >>> From: peder... at frm2.tum.de
>> >>> Date: Mon, 6 Sep 2010 15:53:06 +0200
>> >>> To: typo3-english at lists.typo3.org
>> >>> Subject: Re: [TYPO3-english] RealURL home page language redirect
>> >>>
>> >>> *) check realurl chaches (web->info-> realurl management):
>> >>> id-to-path-mapping, encode-cache, decode-cache.
>> >>> *) check that you do not have duplicate aliases or page names on the
>> >>> same level
>> >>>
>> >>
>> >> I'm afraid I've checked all that already.
>> >> No joy.
>> >> Thanks for the suggestions though.
>> >>
>> >>
>> >> Kaya
>> >>
>> >
>> >
>> >
>> > Although, if it means anything, the paths in the Encode Cache are all
>> > correct. It is only in the Decode Cache that the file path is wrong.
>> >
>> >
>> > I added this to the end of the realurl config in localconf.php, hoping it
>> > would help but it hasn't:
>> > '192.168.1.14' => '_DEFAULT',
>> > 'localhost' => '_DEFAULT',
>> > );
>> >
>> >
>> >
>> > Kaya
>> >
>> Then just delete the wrong path from the decode cache and see, if it
>> gets rebuild correctly.
>
>
>It gets cleared every time you "clear all cache".
>I've tried all the obvious things. I've even cleared it manually many times
>and currently have 'enableUrlDecodeCache' => 0,
>Still no success.
>
By removing the lines
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
and setting the alias for each page I end up with
http://localhost:8505/en/index.htm
http://localhost:8505/en/wer-wir-sind.htm
Which is still not quite there but suggests there's a bug with decoding in class.tx_realurl_advanced.php
I'm baffled that I'm trying to do something so straightforward but no-one else seems to have had the same problem.
More information about the TYPO3-english
mailing list