Bug #87841
closedSitemap generation doesn't take request language into account
100%
Description
The sitemap.xml only takes content from the default language upon creation.
Case:
on domain.dk/sitemap.xml the sitemap is created with all content from the default language (in this case "Danish")
on domain.net/sitemap.xml it was expected to contain only content from the langauge of that site. Instead it takes the content of the default language.
Issue has been identified with Richard Haeser
Sitemaps can be found www.meteko.dk/sitemap.xml and www.meteko.net/sitemap.xml
Site configuration
rootPageId: 1 base: 'https://meteko.dk' baseVariants: { } languages: - title: Danish enabled: true languageId: '0' base: / typo3Language: da locale: da_DK.utf-8 iso-639-1: da navigationTitle: '' hreflang: da-DK direction: ltr flag: dk - title: English enabled: true languageId: '2' base: 'https://meteko.net/' typo3Language: default locale: en_US.utf-8 iso-639-1: en navigationTitle: English hreflang: en-US direction: ltr fallbackType: strict flag: gb errorHandling: - errorCode: '404' errorHandler: Page errorContentSource: '15' routes: { } routeEnhancers: NewsPlugin: type: Extbase extension: News plugin: Pi1 routes: - routePath: '/{news_title}' _controller: 'News::detail' _arguments: news_title: news defaultController: 'News::list' aspects: news_title: type: PersistedPatternMapper tableName: tx_news_domain_model_news routeFieldPattern: '^(?P<path_segment>.+)$' routeFieldResult: '{path_segment}' PageTypeSuffix: type: PageType map: sitemap.xml: 1533906435
Updated by Soren Malling about 4 years ago
- Related to Bug #87912: XML sitemap with localised news records does not respect language added
Updated by Jérémie Roulin about 4 years ago
I am facing the same issue. Have a look here to generate a proper localized sitemap : https://support.google.com/webmasters/answer/189077#sitemap
Updated by Gerrit Code Review about 4 years ago
- Status changed from Accepted 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/c/Packages/TYPO3.CMS/+/60629
Updated by Richard Haeser about 4 years ago
- Target version set to next-patchlevel
Updated by Gerrit Code Review about 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Richard Haeser about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fceffe9866b6531291fa94b34ffd4827302858dc.
Updated by Gerrit Code Review about 4 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review about 4 years ago
Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review about 4 years ago
Patch set 4 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review about 4 years ago
Patch set 5 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Richard Haeser about 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset ecccdc49cd8b8fa600fdbb8a80782fd40c7378f2.