[FEATURE] Possibility to disable hreflang per page
If you have a good reason to disable the default rendering of hreflang tags, you can now use a TypoScript setting. To disable the hreflang generation, you can add the following line to your TypoScript setup. .. code-block:: typoscript config.disableHrefLang = 1 Resolves: #93188 Releases: master Change-Id: I7678b395e4c2bfd6a62a87c928b3f8a44af381ec Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67930 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by:
Torben Hansen <derhansen@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-93188-PossibilityToDisableHreflangPerPage.rst 32 additions, 0 deletions...ter/Feature-93188-PossibilityToDisableHreflangPerPage.rst
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 4 additions, 0 deletionstypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/seo/Tests/Functional/Fixtures/HrefLang.typoscript 4 additions, 0 deletions.../sysext/seo/Tests/Functional/Fixtures/HrefLang.typoscript
- typo3/sysext/seo/Tests/Functional/Fixtures/HrefLangScenario.yml 4 additions, 0 deletions...sysext/seo/Tests/Functional/Fixtures/HrefLangScenario.yml
- typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php 14 additions, 2 deletions...t/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php
Please register or sign in to comment