Description
Describe the bug
Visiting any first-level page in the docs redirects to the landing page if no trailing slash is added at the end.
To Reproduce
Steps to reproduce the behavior:
- Visit https://coolify.io/docs/databases (or type it manually in the address bar)
- You'll see that it redirects you to the landing page while keeping the subpath but removing "/docs" (https://coolify.io/databases)
- Now try visiting https://coolify.io/docs/databases/
- It works fine now.
Expected behavior
I think the trailing slash shouldn't make a difference when visiting those pages. I noticed that there are links to the docs in my Coolify instance that keep taking me to the landing page. I was gonna make a PR in Coolify to fix these links but I think it should fixed here instead.
Desktop (please complete the following information):
- OS: MacOS Sequoia 15.3
- Browser Chrome
- Version 133.0.69453.54
Additional context
I first noticed this only happens with the "overview" pages of each section. but just as I'm documenting this issue I noticed the other pages also have a problem with the trailing slash. Try visiting https://coolify.io/docs/databases/mysql and then in the url address add a trailing slash at the end of the address and you'll see different content (or no content at all) but still remain in the docs website
Activity