[TYPO3-english] RealUrl - parts are written twice

Jeppe Donslund jd at masters.dk
Tue May 18 15:40:10 CEST 2010


Den 18-05-2010 13:51, Pim Broens - Redkiwi skrev:
>
> Hi Jeppe,
>
>
>>
>> In my RealUrl i sometimes get this:
>>
>> www.domain.dk/part1/part2/part1/part2/page.html
>>
>> And it should be:
>>
>> www.domain.dk/part1/part2/page.html
>>
>> How can this happen? I mean, i can't set my piVars more than once, can
>> I?
>>
>
> Could it be that your baseurl lacks a trailing slash? Then the link is
> appended after the regular page, and this could give some strange links.
>
> Kind regards,
>
> Pim Broens
> Redkiwi

No, the baseURL ends with a /

It is a header("location:htpp://.....) that makes the mistake. The link 
i there is made with typoLink('', $conf) and if I print this out instead 
of redirecting, the link is correct created, but when it redirects the 
url in the address field is wrong.

Does that ring any bell?

Jeppe


More information about the TYPO3-english mailing list