Search engine optimization (SEO)¶
TYPO3 contains various SEO related functionality out of the box. The following provides an introduction in those features.
- Site title
The site title is basically a variable that describes the current web site. It is used in title tag generation as for example prefix. If your website is called “TYPO3 News” and the current page is called “Latest” the page title will be something like “TYPO3 News: Latest”.
The site title can be configured in the sites module and is translatable.
- Hreflang Tags
“hreflang” tags are added automatically for multilanguage websites based on the one-tree principle.
The href is relative as long as the domain is the same. If the domain differs the href becomes absolute. The x-default href is the first supported language. The value of “hreflang” is the one set in the sites module (see Adding Languages)
- Canonical Tags
TYPO3 provides built-in support for the
<link rel="canonical" href="">tag.
If the Core extension “seo” is installed, it will automatically add the canonical link to the page.
The canonical link is basically the same absolute link as the link to the current hreflang and is meant to indicate where the original source of the content is. It is a tool to prevent duplicate content penalties.
In the page properties, the canonical link can be overwritten per language. The link wizard offers all possibilities including external links and link handler configurations.
Should an empty href occur when generating the link to overwrite the canonical (this happens e.g. if the selected page is not available in the current language), the fallback to the current hreflang will be activated automatically. This ensures that there is no empty canonical.
If you have other SEO extensions installed that generate canonical links, you have to make sure only one creates it. If both the Core and an extension are generating a canonical link, it will result in 2 canonical links which might cause confusion for search engines.
- XML Sitemap
- see XML sitemap
- SEO for Developers
TYPO3 provides various APIs for developers to implement further SEO features: