georgringer/news-seo

Indivdual indexing/robot information for each news article record

2.2.2 2024-11-15 07:34 UTC

This package is auto-updated.

Last update: 2024-12-15 07:50:24 UTC


README

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

Backend record

Requirements

  • TYPO3 12/13 with core extension "seo" installed
  • EXT:news 10/11/12

Installation

Either use composer require georgringer/news-seo or install the extension via Extension Manager.

Usage

Exclude news from sitemap

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}=''
    }
}

Robots tag

The robots tag is automatically generated by the extension

Thanks

The initial development of this extension has been paid by MENNEKES Elektrotechnik GmbH & Co. KG - www.mennekes.de ❤️Thanks a lot!