TYPO3 seems to alter the output of my Frontend extension.
Simple Testcase:
function main($content, $conf)
{
$this->conf = $conf;
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
return '<a href="#test">test</a>';
}
When I call a page with this extension in the frontend i get:
<a href="pagename/?no_cache=1&action=show&id=3378#test">test</a>
Basically it prepends the path I used to access the page to the anchor link.
What could be responsible for this behaviour? RealURL?
How can I disable it?
You probably have somwhere in your TS template (in Setup) enabled prefixing:
Note, that if you have set
config.baseURL=http://some.tld/and enabledRealURLthis is required, otherwise all anchor links will be redirected to the main page:instead of