Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Don't render hreflang tag for pages with canonical set
When a canonical link is set in the page properties, this page or translation should not get a hreflang link in frontend as this might send conflicting signals to search engines. Resolves: #89878 Releases: master, 10.4 Change-Id: I4a2fb81b474bf155ba0beca5dfa3948f36edf840 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67328 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Guido Schmechel <guido.schmechel@brandung.de> Tested-by: Martin Kutschker <mkutschker-typo3@yahoo.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: Martin Kutschker <mkutschker-typo3@yahoo.com> Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
- Loading branch information
1 parent
dd3c52a
commit 8dbb66e
Showing
3 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters