Bug #89462

Epic #89797: HrefLang / Canonical issues

hreflang missing for languages with fallbackType: fallback

Added by Jonas Eberle about 2 months ago. Updated 10 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2019-10-21
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
hreflang fallback
Complexity:
Is Regression:
Sprint Focus:

Description

If a language is defined as fallback, neither that language's page nor the fallback language's page will include a hreflang to each other.

Simple language fallback configuration:

languages:
  -
    title: deutsch
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: DE
    hreflang: de-DE
    direction: ''
    flag: de
  -
    title: AT
    enabled: true
    languageId: '1'
    base: '/at'
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: AT
    hreflang: de-AT
    direction: ''
    fallbackType: fallback
    fallbacks: '0'
    flag: at

If /mypage is not translated, it is still accessible as /at/mypage, but neither /mypage nor /at/mypage will have any hreflang.


Related issues

Related to TYPO3 Core - Bug #88020: inconsistencies in hreflang output New 2019-03-27
Related to TYPO3 Core - Bug #88545: Behaviour canonical link and HTML lang tag in language overlay Needs Feedback 2019-06-12

History

#1 Updated by Jonas Eberle about 2 months ago

  • Related to Bug #88020: inconsistencies in hreflang output added

#2 Updated by Richard Haeser 10 days ago

  • Parent task set to #89797

#3 Updated by Richard Haeser 10 days ago

  • Related to Bug #88545: Behaviour canonical link and HTML lang tag in language overlay added

Also available in: Atom PDF