Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 10272) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -5769,10 +5769,16 @@ } // If no domain records are defined, use current domain: - if ($targetDomain === '' && $conf['forceAbsoluteUrl'] || - $absoluteUrlScheme !== parse_url(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), PHP_URL_SCHEME)) { + if ($targetDomain === '' && $conf['forceAbsoluteUrl']) { $targetDomain = $currentDomain; } + if ($absoluteUrlScheme !== parse_url(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), PHP_URL_SCHEME)) { + if ($GLOBALS['TSFE']->config['config']['absRefPrefix']) { + $targetDomain = $currentDomain; + } else { + $targetDomain = $currentDomain . t3lib_div::getIndpEnv('TYPO3_SITE_PATH'); + } + } } // If target page has a different domain and the current domain's linking scheme (e.g. simulateStaticDocuments/RealURL/...) should not be used