Issue Task Closed

#86545Make canonical and hreflang optional

Benjamin Robinson 10/02/18, 16:05 updated 07/23/19, 11:25

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.

Reviews 1