Issue Bug Closed

#89487Set pageTypes to ignore for slug generation

Kay Strobach 10/23/19, 16:47 updated 10/24/19, 09:50

Description

in some cases we have special page types to structure content in the page tree.
these pages are use to give substructures in the fe, and might also be rendered in the fe.

But we want to exclude these pages from the slug generation.

page 1
  page of type column --> page type 178
    subpage

expected slugs

page              :    /
page of type colum:    /page-of-type-column
subpage           :    /subpage

current slugs

page              :    /
page of type colum:    /page-of-type-column
subpage           :    /page-of-type-column/subpage

The SlugHelper is already ignoring all page types from 199.

See public/typo3/sysext/core/Classes/DataHandling/SlugHelper.php:592

It would be a rather small change to check for additional page types, which should be ignored from the slug generation.

Backport to v9 appreciated

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.