[TYPO3-english] Redirect index.php?id=xx with realURL
Kay Strobach
typo3 at kay-strobach.de
Fri Mar 23 21:33:01 CET 2012
Hi,
as there are many way's of doing what .htaccess does, it could cause
problems, if index.php?... links could be redirected ;) (infinite
redirection loops)
You should either use .htaccess or just prevent access to the ?id links
by .htaccess ;)
Regards
Kay
Am 23.03.2012 13:50, schrieb Arno Dudek:
> 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
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful: https://flattr.com/profile/kaystrobach
More information about the TYPO3-english
mailing list