#101157Canonical tag incorrect in free mode
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.
Reviews 2
Related issues 1
History 38
-
Michael Binder changed Related to #101187 06/28/23, 13:43
-
Gerrit Code Review pushed patch set 1 for main to change 79586 status
NewUnder Review 07/03/23, 10:42 -
Gerrit Code Review pushed patch set 2 for main to change 79586 07/06/23, 20:26
-
Gerrit Code Review pushed patch set 3 for main to change 79586 07/07/23, 08:05
-
Gerrit Code Review pushed patch set 4 for main to change 79586 07/07/23, 08:25
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 79986 07/13/23, 07:50
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % 07/13/23, 08:35 -
Benni Mack changed status
ResolvedClosed 07/09/24, 14:15
Applied in changeset commit:201e80150ee729512acf37a6c0b0d53320458381.