[TYPO3] Internal links became absolute URL's with version 4

Loek Hilgersom hilgersom at xs4all.nl
Mon Apr 10 21:32:54 CEST 2006


Hi all,

After upgrading a site from 4.0rc3 to 4.0 a few internal links which are 
generated through TypoScript suddenly changed to absolute url's

The output used to be href="index.php?id=107", now it suddenly became 
href="http://www.domain.com/index.php?id=107" (the domain being the first one 
listed in the domain records for that site).

One example is an address record I insert in the html-template (using the 
template auto-parser) like this:

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
...
	subparts.adres = CONTENT
	subparts.adres.table = tt_content
	subparts.adres.select.pidInList = {$adresPid}
	subparts.adres.select.uidInList = {$adresUid}
...
}

I'm sure the links were still relative with some of the 4.0 release candidates 
in which I started developing this site. The menu still produces relative links.

Any idea what has changed, do I need to set some parameter which wasn't 
necessary before?

Thanks,
Loek



More information about the TYPO3-english mailing list