Project

General

Profile

Actions

Bug #101157

closed

Canonical tag incorrect in free mode

Added by Johannes Nielsen 11 months ago. Updated 10 months ago.

Status:
Resolved
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 languagesResolved2023-06-28

Actions
Actions

Also available in: Atom PDF