Issue Bug Closed

#92448changing slug again after reverting an auto update causes wrong URLs on sub pages

Claus-Peter Eberwein 09/30/20, 10:54 updated 11/06/26, 09:46

Description

  • after changing a slug with sub pages while ‘autoUpdateSlugs’ enabled the slugs of all sub pages are changed as well ✅

before:
/example
/example/page1
/example/page2

after:
/new_example
/new_example/page1
/new_example/page2

  • when I press ‘Revert update’ then the changes on the sub pages and the redirects are reverted ✅

before:
/new_example
/new_example/page1
/new_example/page2

after:
/new_example
/example/page1
/example/page2

  • when I change the slug of the same parent page again the slugs of all sub pages are changed but with a wrong URL ❌

before:
/new_example
/example/page1
/example/page2

after:
/another_example
/another_example//page1
/another_example//page2

  • So that is one slash too many and I would expect this result instead:

after:
/another_example
/another_example/page1
/another_example/page2

Reviews 0

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

History 8

  1. Benni Mack commented and changed status New Closed <span data-processor="relativetime" data-value="2026-11-06T09:46:08+00:00" > 11/06/26, 09:46 </span>

    Hi CP,

    Checked on current main: after “Revert update”, the sub pages no longer share the parent’s old slug prefix, so changing the parent’s slug again leaves them untouched (SlugService::updateSlug() only rewrites sub pages whose slug starts with the parent’s previous slug). No double slashes are produced; verified with a functional test. Closing — please reopen with exact steps if you can still reproduce this on a supported version.