Project

General

Profile

Actions

Bug #87841

closed

Sitemap generation doesn't take request language into account

Added by Soren Malling about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Category:
SEO
Target version:
Start date:
2019-03-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87912: XML sitemap with localised news records does not respect languageClosedRichard Haeser2019-03-14

Actions
Actions

Also available in: Atom PDF