Review main Merged

97813[FEATURE] Set the canonical URL from uncached plugins

Benni Mack CR +2 V +2 Hard +412 −16 updated 11/20/26, 16:18

Commit message

EXT:seo added the canonical tag as header data while the cacheable
part of the page was generated. The finished tag was stored in the
page cache, so uncached plugins (USER_INT, uncached Extbase actions)
could neither replace nor remove it.

The canonical URL is now managed by a new meta tag manager for the
property "canonical", which renders <link rel="canonical">. The
CanonicalGenerator still determines the URL and dispatches
ModifyUrlForCanonicalTagEvent, but hands the result to the manager.
As meta tag state is cached and rendered after uncached content
objects, plugins can now change the canonical URL via the
MetaTagManagerRegistry on cached and uncached requests alike.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
    • Georg Ringer +1
  • Verified V +2 Done
    • Garvin Hicking +2
    • Georg Ringer +1
    • core-ci +1 CI

Issues 2

Files 9

Review log 45

  1. Benni Mack uploaded patch set 1 11/19/26, 07:48

  2. core-ci voted on patch set 1 V +1 11/19/26, 07:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114967

  3. Georg Ringer voted on patch set 1 CR +1 V +1 11/19/26, 13:44

  4. Garvin Hicking voted on patch set 1 CR +2 V +2 11/20/26, 16:17

  5. Garvin Hicking merged patch set 2 11/20/26, 16:18