Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect from /books to /shelves #4963

Open
2 tasks done
eblet opened this issue Apr 21, 2024 · 2 comments
Open
2 tasks done

Redirect from /books to /shelves #4963

eblet opened this issue Apr 21, 2024 · 2 comments

Comments

@eblet
Copy link

eblet commented Apr 21, 2024

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hello!
For convenience, we have disabled the display of the Books menu (*.com/books) on the main page, how can you set up eternal redirection from the *.com/books page to *.com/shelves

Exact BookStack Version

v24.02.3

Log Content

No response

Hosting Environment

Ubuntu 22.04

@eblet
Copy link
Author

eblet commented Apr 21, 2024

We use for hide /books on menu
<style> header a[href$="/books"] { display: none; } </style>

@ssddanbrown
Copy link
Member

Hi @eblet,
There's nothing in BookStack itself to allow creation of such a redirect (outside of custom code via our hacking methods).
Depending on how you've installed, and what webserver you're using, you could set up a web-server level redirect from one path to the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants