Task #86614

Epic #89797: HrefLang / Canonical issues

Provide a possibility to override or hook into the hreflang generator

Added by Marc Hirdes over 1 year ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2018-10-10
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

Currently there is no real possibility to override the hrelang tags that are generated by the core. Please provide a hook.


Related issues

Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and Events In Progress 2019-03-28
Related to TYPO3 Core - Bug #89648: On Plugin detail pages, incorrect hreflang tags are created when the record has no translation in the target language Closed 2019-11-12

Associated revisions

Revision 639c7e0f (diff)
Added by Richard Haeser about 1 month ago

[FEATURE] Add PSR-14 event to control hreflang tags to be rendered

A PSR-14 event is introduced to make it possible to control the
hreflang tags that will be rendered.

Additionally the class HrefLangGenerator is migrated to be a
listener to the new event.

Resolves: #86614
Releases: master
Change-Id: I51a5a79da6996148e62301c793b0ad257aada102
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059
Tested-by: Richard Haeser <>
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Reviewed-by: Richard Haeser <>
Reviewed-by: Susanne Moog <>

History

#1 Updated by Richard Haeser over 1 year ago

  • Tracker changed from Bug to Task

#2 Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#3 Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#4 Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#5 Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#6 Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#7 Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#8 Updated by Gerrit Code Review about 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#9 Updated by Gerrit Code Review about 1 year ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#10 Updated by Gerrit Code Review about 1 year ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#11 Updated by Marc Hirdes about 1 year ago

I have a use case. A customer has a multidomain setup with different page trees and language domains. Some of the pages in different trees should be connected via hreflang. This is a case where the connections only can be set manually. Therefore we need a way to modify or prevent the current hreflang generation. "additionalHeaderData" is a place were we can't modify the data.

#12 Updated by Gerrit Code Review 12 months ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59059

#13 Updated by Benni Mack 10 months ago

  • Related to Epic #88027: Properly handle Hooks/Signals and Events added

#14 Updated by Gerrit Code Review 6 months ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#15 Updated by Gerrit Code Review 6 months ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#16 Updated by Gerrit Code Review 6 months ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#17 Updated by Gerrit Code Review 6 months ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#18 Updated by Gerrit Code Review 4 months ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#19 Updated by Christian Eßl 2 months ago

  • Related to Bug #89648: On Plugin detail pages, incorrect hreflang tags are created when the record has no translation in the target language added

#20 Updated by Richard Haeser about 2 months ago

  • Parent task set to #89797

#21 Updated by Gerrit Code Review about 2 months ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#22 Updated by Gerrit Code Review about 2 months ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#23 Updated by Gerrit Code Review about 2 months ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#24 Updated by Gerrit Code Review about 2 months ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#25 Updated by Gerrit Code Review about 2 months ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#26 Updated by Gerrit Code Review about 2 months ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#27 Updated by Gerrit Code Review about 2 months ago

Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#28 Updated by Gerrit Code Review about 2 months ago

Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#29 Updated by Gerrit Code Review about 2 months ago

Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#30 Updated by Gerrit Code Review about 2 months ago

Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#31 Updated by Gerrit Code Review about 2 months ago

Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#32 Updated by Gerrit Code Review about 2 months ago

Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#33 Updated by Gerrit Code Review about 2 months ago

Patch set 28 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#34 Updated by Gerrit Code Review about 2 months ago

Patch set 29 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#35 Updated by Gerrit Code Review about 2 months ago

Patch set 30 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#36 Updated by Gerrit Code Review about 2 months ago

Patch set 31 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#37 Updated by Gerrit Code Review about 2 months ago

Patch set 32 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#38 Updated by Gerrit Code Review about 2 months ago

Patch set 33 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#39 Updated by Gerrit Code Review about 2 months ago

Patch set 34 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#40 Updated by Gerrit Code Review about 1 month ago

Patch set 35 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#41 Updated by Gerrit Code Review about 1 month ago

Patch set 36 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#42 Updated by Gerrit Code Review about 1 month ago

Patch set 37 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59059

#43 Updated by Richard Haeser about 1 month ago

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

#44 Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF