Chapter links are not preseved #2909

Closed
opened 2026-02-05 05:41:53 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @cod3monk on GitHub (Jul 19, 2022).

Describe the Bug

When a chapter is moved to another book, old links are not redirected but lead to a 404 page. This behavior is unlike page links, where previous slugs will redirect to the new location.

Steps to Reproduce

  1. Create a chapter, save "old link"
  2. Move chapter to different book
  3. Try old link

Expected Behaviour

Redirection to new chapter location.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v22.04.2

PHP Version

No response

Hosting Environment

docker

Originally created by @cod3monk on GitHub (Jul 19, 2022). ### Describe the Bug When a chapter is moved to another book, old links are not redirected but lead to a 404 page. This behavior is unlike page links, where previous slugs will redirect to the new location. ### Steps to Reproduce 1. Create a chapter, save "old link" 2. Move chapter to different book 3. Try old link ### Expected Behaviour Redirection to new chapter location. ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v22.04.2 ### PHP Version _No response_ ### Hosting Environment docker
OVERLORD added the 🐛 Bug label 2026-02-05 05:41:53 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 25, 2022):

Thanks for raising, but I'd consider the fundamental issue to already be covered & discussed across issues #732, #1969, #3520

@ssddanbrown commented on GitHub (Jul 25, 2022): Thanks for raising, but I'd consider the fundamental issue to already be covered & discussed across issues #732, #1969, #3520
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2909