Task #101160
closedKeep hreflang property in site configuration
100%
Description
hreflang property of a site language should be kept for optimal SEO optimizations. For this reason, we undeprecate this option, but keep it as a fallback.
Updated by Benni Mack over 1 year ago
- Related to Task #99908: Remove "hreflang" from Site Configuration added
Updated by Benni Mack over 1 year ago
- Related to Bug #95798: hreflang used in (xml:)lang parameter of html tag added
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79488
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79488
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79488
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79545
Updated by Benni Mack over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 85d2b5b17ce774e3dbbd81d4c8f6c9d81da0b497.
Updated by Nikita Hovratov 8 months ago
- Related to Bug #102178: Html lang field wrong added
Updated by Boris von Martens about 2 months ago
- PHP Version set to 8.3
Has this been tested?
imho the changes on
typo3/sysext/frontend/Classes/Http/RequestHandler.php in
https://git.typo3.org/typo3/typo3/-/commit/85d2b5b17ce774e3dbbd81d4c8f6c9d81da0b497#54510d8d0d1b7ab2ee321107ec61a20d48ed55ad_294_294
should be reverted.
I tested locally and could verify that the hreflang from site configuration will be written to the html tag.