Bug #88020

Epic #89797: HrefLang / Canonical issues

inconsistencies in hreflang output

Added by Peter Reichenbach over 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
hreflang, language, fallback
Complexity:
Is Regression:
Sprint Focus:

Description

hreflang output differs for real languages and fallback languages (non translated pages).
if there is a translation for the current page, the hreflang tags output includes only translated pages.
if there is no translation and fallback is shown, there are hreflang tags for any active language in sites config. (should be)

in site config the fallbackType for real languages is strict (de, zh), for the fallback languages the fallbackType is fallback and fallbacks is set to the related language and in addition to the default language.


Files

hreflang.png (249 KB) hreflang.png Peter Reichenbach, 2019-03-27 13:51

Related issues

Related to TYPO3 Core - Bug #89462: hreflang missing for languages with fallbackType: fallbackNew2019-10-21

Actions
Related to TYPO3 Core - Bug #88545: Behaviour canonical link and HTML lang tag in language overlayNeeds Feedback2019-06-12

Actions
#1

Updated by Peter Reichenbach over 1 year ago

the correct hreflang-tag-set appears only if there is a setup with multiple fallback languages and existing translation for the first fallback language.

#2

Updated by Peter Reichenbach over 1 year ago

same behavior in the language menu, fallback languages become available.

the crux is, in the language menu i do not want the fallback languages. the language menu should show only real pages. the hfreflang tags may include fallback languages.
therefore it would be nice if the language setup has a config value for hreflang and another for the language menu.
with enabled option set to false, the page is not available in this language at all, so this option is useless.

#3

Updated by Richard Haeser over 1 year ago

  • Category changed from Localization to SEO
#4

Updated by Richard Haeser over 1 year ago

Will check fallback behaviour. About the wanted difference between the language menu and hreflang: why should the information you give to a search engine (hreflang tags) differ from the information you give to a user?

#5

Updated by Jonas Eberle about 1 year ago

  • Related to Bug #89462: hreflang missing for languages with fallbackType: fallback added
#6

Updated by Richard Haeser about 1 year ago

  • Parent task set to #89797
#7

Updated by Richard Haeser about 1 year ago

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

Also available in: Atom PDF