This extension provides additional SEO features to EXT:news
- Fields
robots_index
&robots_follow
to control robot information per article and to override robot information of the page record - Image preview information
max-image-preview
(documentation) - Set canonical tag even if
no_index
is set on page level - Field for a canonical link
- PHP 7.4+
- TYPO3 10/11/12 with core extension "seo" installed
- EXT:news 8.6/9/10/11
Either use composer require georgringer/news-seo
or install the extension via Extension Manager.
Add the following snippet to your TypoScript
plugin.tx_seo.config.xmlSitemap.sitemaps {
# Important: the key might differ in your setup!
news {
config.additionalWhere = {#type} NOT IN(1,2) AND {#robots_index}=1 AND {#canonical_link}=''
}
}
The robots tag is automatically generated by the extension
The initial development of this extension has been paid by MENNEKES Elektrotechnik GmbH & Co. KG - www.mennekes.de ❤️Thanks a lot!