← Extensions
TYPO3 12 EXT:newsSEOCategoriesRouting

EXT:news_category_pid_constraint

Prevents duplicate content by validating that a news article is only rendered on the detail page assigned to its category — a clean solution for multi-category news setups.


When EXT:news categories have a dedicated Single-view page configured, the same article could be rendered on multiple detail pages. This extension checks whether the current page matches the category’s assigned detail page — if not, the request is rejected.

Configuration

By default the extension delegates error handling to EXT:news. To show a hard 404 instead:

plugin.tx_news.settings {
    news_category_pid_constraint.pageNotFoundError = 1
}

Requirements

PackageVersion
TYPO3 CMS Core≥ 12.4
EXT:news≥ 11