Title Tag and Meta Tags View Helper
- September 03, 2026 - TYPO3, Extbase & Fluid - 2 minute read
TYPO3 v14 has significantly simplified the process of working with SEO-relevant page data. Whereas previously TypoScript, custom PageTitleProviders or bespoke PHP solutions were often required, specialised Fluid ViewHelpers are now available to define the title tag and meta tags directly within templates. This makes managing search engine and social media metadata much more convenient and straightforward.
The new <f:page.title> ViewHelper has been introduced for the page title. This allows the title tag to be set directly from within a Fluid template. This is particularly useful for Extbase extensions and detail views, as dynamic page titles can be created without the need for a custom PageTitleProvider. The ViewHelper integrates seamlessly into the existing TYPO3 system for managing page titles.
In addition, TYPO3 v14 offers its own ViewHelper for meta tags: <f:page.meta>. This allows, for example, meta descriptions, OpenGraph tags for social networks or Twitter/X-Cards to be defined directly within the Fluid template. The integration is handled via the TYPO3 MetaTagManager API, which in many cases eliminates the need for complex TypoScript configurations and allows SEO-relevant information to be maintained exactly where the content is displayed.
Setting the title tag in Fluid using `f:page.title`
The <f:page.title> ViewHelper allows the title tag to be defined directly within a Fluid template. This enables page titles to be set flexibly and contextually, without the need for additional TypoScript configurations. This ensures a clearer and more maintainable implementation, particularly for extensions and custom templates.
Setting meta tags in the Fluid template
Meta tags can be created directly in the Fluid template using the <f:page.meta> ViewHelper. They are automatically output in the HTML head section of the page. This allows meta descriptions, robots tags and other meta information to be managed centrally within the template logic.
0 comments