[TYPO3-english] Redirect index.php?id=xx with realURL

Arno Dudek webmaster at adgrafik.at
Fri Mar 23 13:50:42 CET 2012


Found the problem. This is not supported by RealURL.

class.tx_realurl.php line 920:
if ($this->pObj->siteScript && substr($this->pObj->siteScript, 0, 9) != 
'index.php' && substr($this->pObj->siteScript, 0, 1) != '?') {

This will be false.

lg arno


Am 23.03.12 13:32, schrieb Philipp Gampe:
> Hi Arno ,
>
> Arno Dudek wrote:
>
>> I mean the redirects in the module "Info" (left side) ->  "RealURL
>> management" ->  "Show: Redirects"
>
> Ah ok.
>
>> When I set there the following redirect
>>
>> Redirect from: /index.php?test=1
>> Redirect to: /o-nama.html
>> Domain: www.domain.tld
>> and Permanent redirect is checked
>
> I am not sure if parameters are supported.
>
>> will not work. But this setting will work:
>>
>> Redirect from: /test/ (or /test.html)
>> Redirect to: /o-nama.html
>
> Can you check the send HTTP headers. I am especially interested in the
> "Location:" line.
>
>> I use the default .htaccess with the scriptmerger settings.
>
> That should be fine in this case. If realurl works fine for all other pages,
> then you should be good.
>
> Best regards



More information about the TYPO3-english mailing list