#86545Make canonical and hreflang optional
Description
It would be useful to have a TypoScript option which deactivates the generation of the canonical and/or hreflang tag.
F.e. 404 pages and and other pages with “no_index” possibly should not have a canonical or hreflang tag. I could image something like …
[page|no_noindex = 1]
page{
canonical = 0
hreflang = 0
}
[global]
This would also make it possible to generate both tags manually or via extension without having duplicates or contradictory tags.