---
title: "Deprecation: #65934 - \"Prefix Local Anchors\" functionality moved to legacy extension"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-65934"
source: "Changelog/7.2/Deprecation-65934-PrefixLocalAnchorsMovedToLegacyExtension.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #65934 - "Prefix Local Anchors" functionality moved to legacy extension

See [forge#65934](https://forge.typo3.org/issues/65934)

## Description

Prefixing local anchors is not considered best practice in web sites anymore as the same is achieved with
absolute prefixes for links (see `config.absRefPrefix`). Therefore the according functionality has been moved to
the legacy extension EXT:compatibility6.

The following TypoScript option has been marked for deprecation:

```typoscript
config.prefixLocalAnchors
```

The following PHP methods have been marked for deprecation:

```php
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::prefixLocalAnchorsWithScript()
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::doLocalAnchorFix()
```

## Impact

The content output of the TYPO3 frontend is not prefixed with local anchors anymore unless EXT:compatibility6 is loaded.

## Affected installations

Any installation having the TypoScript option `config.prefixLocalAnchors` set will have different behaviour in the
frontend rendering.

## Migration

For TYPO3 CMS 7, installing EXT:compatibility6 brings back the existing functionality.
