Bug #88715

Wrong routes for default url slugs on translated base path pages

Added by Ronny Hauptvogel 2 months ago. Updated 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-07-10
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

We have configured a multi lanugage setup with the following structure (see site configuration image attachment):

So the default language in the backend of TYPO3 is german, but the URL for german contains "de". This is exactly what we want and it works as expected, but a strange side effect is also present afterwards, because something like this is working, too:

As you can see routes to the default pages will be created for translated pages too if they don't contain a language parameter like "en". So if someone visit http://dev.example.com/kontakt he will get the same content as http://dev.example.com/contact. So canoncial link is set to the right URL and SEO will not be affected, but this pages or routes should not be generated instead.

example.png View (6.83 KB) Ronny Hauptvogel, 2019-07-10 13:53

config.yaml View (2.2 KB) Ronny Hauptvogel, 2019-07-12 10:08

History

#1 Updated by Benni Mack 2 months ago

  • Status changed from New to Needs Feedback

Hey Ronny,

VERY interesting. I definitively need some tests for this.

Can you attach your config.yaml file?

#2 Updated by Ronny Hauptvogel 2 months ago

Hi Benny,

sure.

#3 Updated by Benni Mack 2 months ago

  • Status changed from Needs Feedback to Accepted

Also available in: Atom PDF