Project

General

Profile

Bug #86835

Updated by Chris Müller over 5 years ago

*The bug #86615 already exists after an update to TYPO3 9.5.1.* 

 I have a multi-language, single-page tree site configuration. I added a sitemap.xml into the config.yaml via the new Site Management menu. 

     rootPageId: 3 
     base: 'https://www.example.net/' 
     baseVariants: 
       - 
         base: 'http://example.ddev.local:8080/' 
         condition: 'applicationContext == "Development"' 
       - 
         base: 'https://staging.example.net/' 
         condition: 'applicationContext == "Production/Staging"' 
       - 
         base: 'http://testing.example.net/' 
         condition: 'applicationContext == "Testing"' 
     languages: 
       - 
         title: English 
         enabled: true 
         languageId: '0' 
         base: /en/ 
         typo3Language: default 
         locale: en_US.utf8 
         iso-639-1: en 
         navigationTitle: English 
         hreflang: en 
         flag: us 
       - 
         title: Deutsch 
         enabled: true 
         languageId: '1' 
         base: /de/ 
         typo3Language: de 
         locale: de_DE.utf-8 
         iso-639-1: de 
         navigationTitle: Deutsch 
         hreflang: de 
         fallbackType: strict 
         flag: de 
     errorHandling: 
       - 
         errorCode: '404' 
         errorHandler: Page 
         errorContentSource: 't3://page?uid=96' 
     routes: 
       - 
         route: sitemap.xml 
         type: uri 
         source: 't3://page?uid=3&type=1533906435' 

 Using /sitemap.xml redirects me to /en/. 

 Calling /?type=1533906435 redirects me also to /en/. But using /en/?type=1533906435 shows me the sitemap index. Calling the URL from the sitemap xml: 

     http://example.ddev.local:8080/en/?sitemap=pages&cHash=0fe835841492c3b52e6090c6a7f6f310 

 shows me the content from /en and no sitemap. 

 *Addition*: I encounter this problem on a local ddev environment with the default .htaccess delivered with the core.

Back