Create relative (not absolute) URLs in image linking and wiki type internal linking #4891

Closed
opened 2026-02-05 09:24:07 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @kdamianakis on GitHub (Jul 27, 2024).

Describe the feature you'd like

At the moment both images and internal links are described by a full domain name URL - this is potentially problematic if the domain of the bookstack deployment changes as there is no easy way (unless changing things in the database) to update all of the relative links.

Describe the benefits this would bring to existing BookStack users

Assist considerably in changing the fully qualified domain name of the installaiton, which some times needs to happen when changing servers or when the domain name no longer describes correctly the new state of the bookstack entries.

Can the goal of this request already be achieved via other means?

The database can be manually altered but that requires scripts that may miss data dependencies.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

No response

Originally created by @kdamianakis on GitHub (Jul 27, 2024). ### Describe the feature you'd like At the moment both images and internal links are described by a full domain name URL - this is potentially problematic if the domain of the bookstack deployment changes as there is no easy way (unless changing things in the database) to update all of the relative links. ### Describe the benefits this would bring to existing BookStack users Assist considerably in changing the fully qualified domain name of the installaiton, which some times needs to happen when changing servers or when the domain name no longer describes correctly the new state of the bookstack entries. ### Can the goal of this request already be achieved via other means? The database can be manually altered but that requires scripts that may miss data dependencies. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? 1 to 5 years ### Additional context _No response_
OVERLORD added the 🔨 Feature Request:cat2:🐈 Possible duplicate labels 2026-02-05 09:24:07 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 28, 2024):

Thanks for raising @kdamianakis, but I'm closing this off as a duplicate of existing issues #1137 and #1342.

Assist considerably in changing the fully qualified domain name of the installaiton, which some times needs to happen when changing servers or when the domain name no longer describes correctly the new state of the bookstack entries.

We specifically cater for this scenario with the "Update System URL" command detailed here: https://www.bookstackapp.com/docs/admin/commands/#update-system-url
This will update all references in table columns where URLs may exist.

@ssddanbrown commented on GitHub (Jul 28, 2024): Thanks for raising @kdamianakis, but I'm closing this off as a duplicate of existing issues #1137 and #1342. > Assist considerably in changing the fully qualified domain name of the installaiton, which some times needs to happen when changing servers or when the domain name no longer describes correctly the new state of the bookstack entries. We specifically cater for this scenario with the "Update System URL" command detailed here: https://www.bookstackapp.com/docs/admin/commands/#update-system-url This will update all references in table columns where URLs may exist.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4891