Bug #89346
opensitemap.xml does not work correctly
0%
Description
There are three installations Typo3
1.
base: /
baseVariants: { }
errorHandling: { }
languages:
-
title: English
enabled: true
languageId: '0'
base: /
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ''
flag: global
-
title: Dansk
enabled: true
languageId: '1'
base: /da/
typo3Language: da
locale: da_DK.UTF-8
iso-639-1: da
navigationTitle: Dansk
hreflang: da-DE
direction: ''
fallbackType: strict
fallbacks: ''
flag: dk
-
title: German
enabled: true
languageId: '2'
base: /de/
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: German
hreflang: de-DE
direction: ''
fallbackType: strict
fallbacks: ''
flag: de
rootPageId: 1
routes: { }
routeEnhancers:
PageTypeSuffix:
type: PageType
map:
/: 0
sitemap.xml: 1533906435
2.
base: /
baseVariants: { }
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=85'
languages:
-
title: Русский
enabled: true
languageId: '0'
base: /
typo3Language: ru
locale: ru_RU.UTF-8
iso-639-1: ru
navigationTitle: Русский
hreflang: ru-RU
direction: ltr
flag: ru
-
title: English
enabled: true
languageId: '1'
base: /en/
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ltr
fallbackType: strict
flag: gb
rootPageId: 1
routeEnhancers:
PageTypeSuffix:
type: PageType
default: /
suffix: /
index: ''
map:
/: 0
sitemap.xml: 1533906435
routes: { }
3.
base: /
baseVariants: { }
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=85'
-
errorCode: '503'
errorHandler: Page
errorContentSource: 't3://page?uid=86'
languages:
-
title: Русский
enabled: true
languageId: '0'
base: 'https://elarum.ru/'
typo3Language: ru
locale: ru_RU.UTF-8
iso-639-1: ru
navigationTitle: Русский
hreflang: ru-RU
direction: ltr
flag: ru
-
title: English
enabled: true
languageId: '1'
base: 'https://elarum.com/'
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ltr
fallbackType: strict
fallbacks: ''
flag: gb
-
title: Қазақ
enabled: false
languageId: '2'
base: 'https://elarum.kz/'
typo3Language: ru
locale: kk_KZ.UTF-8
iso-639-1: kk
navigationTitle: Қазақ
hreflang: kk-KZ
direction: ''
fallbackType: fallback
fallbacks: '0'
flag: kz
rootPageId: 1
routeEnhancers:
PageTypeSuffix:
type: PageType
default: /
suffix: /
index: ''
map:
/: 0
sitemap.xml: 1533906435
routes: { }
For 1 variant
https://alfaneftehim.ru/sitemap.xml?sitemap=pages&cHash=7af54a2fc49cf516b993f321c3960bf1
completely coincides with
https://alfaneftehim.ru/da/sitemap.xml?sitemap=pages&cHash=7af54a2fc49cf516b993f321c3960bf1
actually the number of pages is different
maybe because cHash is the same
For 2 variant
https://gabdullin.name/sitemap.xml?sitemap=pages&cHash=a99c2cfce77a538c64e3de0213cf780e
completely coincides with
https://gabdullin.name/en/sitemap.xml?sitemap=pages&cHash=a99c2cfce77a538c64e3de0213cf780e
actually the number of pages is different
maybe because cHash is the same
For 3 variant
https://elarum.ru/sitemap.xml
and
https://elarum.com/sitemap.xml
not displayed
Files
Updated by Tymoteusz Motylewski about 5 years ago
- Related to Bug #87104: PageTypeSuffix removes type parameter for non mapped type values added
Updated by Tymoteusz Motylewski about 5 years ago
- Related to Bug #86835: Static route sitemap.xml is still not working on single-page tree added
Updated by Susanne Moog almost 5 years ago
- Sprint Focus set to On Location Sprint
Updated by Daniel Goerz almost 5 years ago
- Status changed from New to Needs Feedback
I am not able to reproduce the empty index sitemap with a language that has a custom domain configured as base.
Could you provide more information on how to reproduce this behavior?
Updated by Edward A. Gabdullin almost 5 years ago
- File scr_547.jpg scr_547.jpg added
- File scr_548.jpg scr_548.jpg added
- File scr_549.jpg scr_549.jpg added
- File scr_550.jpg scr_550.jpg added
- File scr_551.jpg scr_551.jpg added
- File scr_552.jpg scr_552.jpg added
- File scr_553.jpg scr_553.jpg added
- File scr_554.jpg scr_554.jpg added
- File scr_555.jpg scr_555.jpg added
I tried on a clean installation typo3. The server on which the problem is described scr_499.jpg!
Server configuration: Centos 8.1, kernel: 4.18.0-147.3.1.el8_1.x86_64, nginx: 1.16.1, php: 7.2.26, MariaDB: 10.3.21, redis: 5.0.3
Typo3 10.2.2 + bootstrap_package 11.0.2 + introduction 4.2.0
One page translated into Danish (scr_547.jpg)
base: /
baseVariants: { }
errorHandling: { }
languages:
-
title: English
enabled: true
languageId: '0'
base: /
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ''
flag: global
websiteTitle: ''
-
title: Dansk
enabled: true
languageId: '1'
base: /da/
typo3Language: da
locale: da_DK.UTF-8
iso-639-1: da
navigationTitle: Dansk
hreflang: da-DE
direction: ''
fallbackType: strict
fallbacks: ''
flag: dk
websiteTitle: ''
rootPageId: 1
routeEnhancers:
PageTypeSuffix:
type: PageType
map:
sitemap.xml: 1533906435
routes: { }
I get: scr_548.jpg, scr_549.jpg, scr_550.jpg, scr_551.jpg
Changed configuration for Danish to:
base: /
baseVariants: { }
errorHandling: { }
languages:
-
title: English
enabled: true
languageId: '0'
base: 'https://alfaneftehim.ru'
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ''
flag: global
websiteTitle: ''
-
title: Dansk
enabled: true
languageId: '1'
base: 'https://alfaneftehim.com/'
typo3Language: da
locale: da_DK.UTF-8
iso-639-1: da
navigationTitle: Dansk
hreflang: da-DE
direction: ''
fallbackType: strict
fallbacks: ''
flag: dk
websiteTitle: ''
rootPageId: 1
routeEnhancers:
PageTypeSuffix:
type: PageType
map:
sitemap.xml: 1533906435
routes: { }
I get: scr_552.jpg, scr_553.jpg, scr_554.jpg, scr_555.jpg
I can’t repeat the problem :( I will look for the source of the problem further.
But he revealed a different problem. Only one page is translated into Danish, and sitemap.xml displays all page.
Updated by Edward A. Gabdullin over 4 years ago
It turned out to get an empty index file is very easy. The "Canonical Links" field on the pages has been filled. Such pages do not get into the file sitemap.xml!
Updated by Richard Haeser almost 4 years ago
- Category changed from Site Handling, Site Sets & Routing to SEO
Updated by Richard Haeser almost 4 years ago
- Status changed from Needs Feedback to New
Updated by Oliver Hader about 2 years ago
- Sprint Focus deleted (
On Location Sprint)