[FEATURE] Add support for the "canonical" tag 71/58271/16
authorKevin Appelt <kevin.appelt@icloud.com>
Thu, 13 Sep 2018 20:58:47 +0000 (22:58 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 20 Sep 2018 06:57:50 +0000 (08:57 +0200)
commit5842b5093cc2ec27ce61b9db6fd1504d173b6ee7
tree009f2418caaa1aad38f1962d39d82f592f437cca
parenta22326240bf45f59c7fbf32e3c1707aee3910cf9
[FEATURE] Add support for the "canonical" tag

TYPO3 will now out-of-the box create the canonical tag if you have
installed the core extension SEO. The canonical tag is based on the
settings in the page properties. First it will check if you defined
a canonical link. If not, it will check for the Show content from page
and if both are not set, it will generate an absolute url to the
current page.

Resolves: #20051
Releases: master
Change-Id: I1ae01e419a1f822b8659bf71ba99523051a2e77c
Reviewed-on: https://review.typo3.org/58271
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-20051-SupportTheCanonicalTag.rst [new file with mode: 0644]
typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php [new file with mode: 0644]
typo3/sysext/seo/Configuration/TCA/Overrides/pages.php
typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php [new file with mode: 0644]
typo3/sysext/seo/Tests/Functional/Fixtures/pages-canonical.xml [new file with mode: 0644]
typo3/sysext/seo/ext_localconf.php
typo3/sysext/seo/ext_tables.sql