Skip to content

Links break when a group name matches an existing page name #4074

@KevinRohn

Description

@KevinRohn

Bug description

When a navigation group is given the same name as an existing page, the links within that section stop working. The page itself still appears in the sidebar, but clicking any associated links does nothing (or navigates incorrectly).

How to reproduce

  • Have an existing page named e.g. CODESYS HVAC
  • Create a group with the exact same name CODESYS HVAC
  • Observe that links under that section are no longer functional - The sub slug is not added

Additional context

This regression was not present in an earlier version (exact version unknown). The issue is reproducible specifically with name collisions between pages and groups.

I attached a video

Screen.Recording.2026-03-03.at.12.24.37.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions