Bug #101157
closedCanonical tag incorrect in free mode
100%
Description
In free mode, the canonical tag of pages which are not the root page is incorrect. Instead of the translated page's slug, the slug of the page in the original language is used. The language entrypoint is correct, however. If, for example, you have a site in the default language English with the URL https://example.com/some-page and you have a translated version in German with the URL https://example.com/de/eine-seite, then the canonical tag on the german page will contain https://example.com/de/some-page. This page triggers a 404, of course, rendering the canonical tag invalid.
Setting the canonical tag via the backend still works as expected.
This issue seems to only be present in free mode.
I have marked this as regression because canonicals used to work in v11.
Updated by Michael Binder over 1 year ago
- Related to Bug #101187: Free mode link generation is broken in non-default languages added
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79586
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79586
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79586
Updated by Gerrit Code Review over 1 year ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79586
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79986
Updated by Benni Mack over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 201e80150ee729512acf37a6c0b0d53320458381.