I read [Support Guide] How can I alter trailing slash behaviour in my URLs? Will enabling Pretty URLs help?, but don’t see the same behavior on our company website.
We have static files, e.g.
docs/getting-started/index.html. When deployed, both
docs/getting-started/ resolve. How do I enforce a redirect from
docs/getting-started (i.e. from
/ to no
/)? Related issue with a linked PR: [docs] 404 error pages with trailing / at the end of url · Issue #552 · gitpod-io/website · GitHub
Our docs pages are Markdown files that get converted to HTML at build time. The reason we want to use no trailing slash is so that we can use relative URLs in the documentation pages. This simplifies navigation when someone reads the docs pages in GitHub.
Any suggestion as to how to redirect
/ to the URL without trailing slash would be awesome .