[BUGFIX] Respect no_index while creating canonical and hreflang tags
When the current page is set to no_index, no canonical tag and hreflang tags will be generated. Resolves: #86569 Releases: master Change-Id: I7e5360bc9159e31a4ffaa352a05ba0d8296693ed Reviewed-on: https://review.typo3.org/58588 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Marc Hirdes <hirdes@clickstorm.de> Reviewed-by:
Willi Wehmeier <wwwehmeier@gmail.com> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php 4 additions, 0 deletionstypo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php
- typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php 26 additions, 2 deletionstypo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php
- typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php 1 addition, 0 deletions...seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php
- typo3/sysext/seo/Tests/Functional/Fixtures/pages-canonical.xml 11 additions, 0 deletions.../sysext/seo/Tests/Functional/Fixtures/pages-canonical.xml
- typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php 5 additions, 1 deletion.../sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php
Please register or sign in to comment