Project

General

Profile

Actions

Bug #101157

closed

Canonical tag incorrect in free mode

Added by Johannes Nielsen about 1 year ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-06-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101187: Free mode link generation is broken in non-default languagesClosed2023-06-28

Actions
Actions #1

Updated by Michael Binder about 1 year ago

  • Related to Bug #101187: Free mode link generation is broken in non-default languages added
Actions #2

Updated by Gerrit Code Review about 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

Actions #3

Updated by Gerrit Code Review about 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

Actions #4

Updated by Gerrit Code Review about 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

Actions #5

Updated by Gerrit Code Review about 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

Actions #6

Updated by Gerrit Code Review about 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

Actions #7

Updated by Benni Mack about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack 8 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF