Feature: #93606 - Possibility to disable canonical per page¶
See Issue #93606
Although it should not be needed to disable the generation of
canonical, people might
have a reason to disable it. If for some reason Core does not
render the proper canonical tag and also the
ModifyUrlForCanonicalTagEvent PSR-14 event
is not enough, you are now able to disable the generation of the canonical tag
via TypoScript. This can be done per page or part of your tree depending on where
you set the configuration.
To disable the canonical generation, you can add the following line to your TypoScript setup.
config.disableCanonical = 1
If the option is set to
1, the canonical generation will be skipped.