http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-05-29T10:37:17ZTYPO3 ForgeTYPO3 Core - Bug #91517: Section-Link pointing the current page not rendering without config.baseURLhttp://forge.typo3.org/issues/91517?journal_id=4261362020-05-29T10:37:17ZPhilipp Seiler
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/426136/diff?detail_id=353193">diff</a>)</li></ul> TYPO3 Core - Bug #91517: Section-Link pointing the current page not rendering without config.baseURLhttp://forge.typo3.org/issues/91517?journal_id=4261462020-05-29T11:00:46ZPhilipp Seiler
<ul></ul><p>For now I will use .env-Variables to set a custom TypoScript baseUrl-Constant, which in turn will then be used for <em>config.baseURL</em>. Works, but again, seems cumbersome.</p> TYPO3 Core - Bug #91517: Section-Link pointing the current page not rendering without config.baseURLhttp://forge.typo3.org/issues/91517?journal_id=4264392020-06-03T15:49:00ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Hey Philipp,</p>
<p>this is actually expected behavior. TYPO3 does not (and cannot) know that you set a `<base>` tag yourself.</p>
<p>Setting config.baseUrl dynamically was possible (or is still possible) with TypoScript conditions. It is also possible if you use a hook to dynamically set TSFE->baseUrl.</p>
<p>The <base> tag isn't respected by a lot of crawlers, resulting in a lot of errors in your server log, so the recommendation is to work with config.absRefPrefix which is set dynamically from the site configuration.</p>
<p>Can you explain why you need the <base> tag?</p> TYPO3 Core - Bug #91517: Section-Link pointing the current page not rendering without config.baseURLhttp://forge.typo3.org/issues/91517?journal_id=4272832020-07-01T10:36:21ZPhilipp Seiler
<ul></ul><p>If I remember correctly, I needed it because of dynamically created Anchor-Tags that point to some elements on the current page. Without the base-tag, the anchor-links would trigger a site-reload, the desired behavior however was to jump directly to some anchor.</p>
<p>I do use TypoScript conditions now to set the correct base-tag.</p>
<p>I guess this problem this is somewhat of an edge-case and can probably be discarded.</p> TYPO3 Core - Bug #91517: Section-Link pointing the current page not rendering without config.baseURLhttp://forge.typo3.org/issues/91517?journal_id=4273942020-07-07T20:49:03ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul>