[BUGFIX] Respect no_index while creating canonical and hreflang tags 88/58588/3
authorRichard Haeser <richard@maxserv.com>
Sat, 6 Oct 2018 19:05:13 +0000 (21:05 +0200)
committerBenni Mack <benni@typo3.org>
Sat, 27 Oct 2018 14:09:33 +0000 (16:09 +0200)
commit603b6bf14918382a49c47aff04d7724fbac52919
tree144c6c053cebfe1e40bedd1ac3f6ea94c0e015cc
parent2b15636365b3ec14803e572b38b84d37e022f409
[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>
typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php
typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php
typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php
typo3/sysext/seo/Tests/Functional/Fixtures/pages-canonical.xml
typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php