Skip to content

Fix duplicate URLs for articles with identical names (#599)#612

Open
dergel wants to merge 2 commits intomainfrom
claude/fetch-github-issues-011CUzHBakKpJykzuwDf15ww
Open

Fix duplicate URLs for articles with identical names (#599)#612
dergel wants to merge 2 commits intomainfrom
claude/fetch-github-issues-011CUzHBakKpJykzuwDf15ww

Conversation

@dergel
Copy link
Copy Markdown
Member

@dergel dergel commented Nov 10, 2025

When multiple articles share the same name with URL type "Automatic", they now receive unique URLs by appending a suffix (-2, -3, etc.). This prevents the second article from being inaccessible.

  • Added makeUrlUnique() method to detect and resolve URL conflicts
  • Only applies to auto-generated URLs, custom URLs remain unchanged
  • Handles article updates correctly by skipping self-comparison

claude and others added 2 commits November 10, 2025 14:53
When multiple articles share the same name with URL type "Automatic",
they now receive unique URLs by appending a suffix (-2, -3, etc.).
This prevents the second article from being inaccessible.

- Added makeUrlUnique() method to detect and resolve URL conflicts
- Only applies to auto-generated URLs, custom URLs remain unchanged
- Handles article updates correctly by skipping self-comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants