TYPO3 Agency - coding, design and website development

TYPO3 9.5 LTS: Search Engine Optimization

Page properties feature a new "SEO" tab, which allows BE users to configure SEO-related information, Open Graph data and much more.

Page properties feature a new SEO tab

Search Engine Optimization (SEO)

  • New Page Title API allows integrators and developers to influence what exactly is shown as the page title.
  • TYPO3 can generate XML Sitemap, now, with the capability to render different sitemaps per site and language.
  • Canonical links to pages are automatically added to prevent ranking penalties due to duplicate content for example:
    • In multi-language TYPO3 sites, hreflang-tags are added automatically.
    • SEO-related meta tags set in the page properties are now rendered in the frontend by default.

Meta Tag Manager

New Meta Tag API has been introduced to manage and render meta tags in a simple and flexible way.
TYPO3 core ships an Open Graph Meta Tag Manager, for example:

use \TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry;
$metaTagManager = MetaTagManagerRegistry::getInstance()->getManagerForProperty(’og:title’);
$metaTagManager->addProperty(’og:title’, ’This is the OG title from a controller’);

Functions available include:

$metaTagManager->addProperty()
$metaTagManager->removeProperty()
$metaTagManager->removeAllProperties()

Developers can register custom MetaTagManager in the MetaTagManagerRegistry:

use \TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry;
    $metaTagManagerRegistry = MetaTagManagerRegistry::getInstance();
    $metaTagManagerRegistry->registerManager(
        ’custom’,
        \Some\CustomExtension\MetaTag\CustomMetaTagManager::class
);

Meta tags can be set by TypoScript and PHP:

page.meta {
    og:site_name = TYPO3
    og:site_name.attribute = property
    og:site_name.replace = 1
}

("replace = 1" replaces earlier set meta tags)