[TYPO3-dev] No absolute link for href tag

Jigal van Hemert jigal.van.hemert at typo3.org
Mon Jun 2 13:33:25 CEST 2014


Hi,

On 2-6-2014 12:57, Christian Weiske wrote:
>> <a href="#target" title="My target">
>>
>> But the link is not rewritten by Typo3 and when I click on this link
>> I'm always redirected to the home page of the website because there's
>> no absolute path.
>
> You're using a base href, right? Remove that, and # links will stay on
> the current page.

We have a property config.prefixlocalanchors for this in TypoScript, but 
I must admit that I haven't used it recently.

[1] 
http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#prefixlocalanchors

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list