trailing-slash-guide icon indicating copy to clipboard operation
trailing-slash-guide copied to clipboard

Understand and fix your static website trailing slash issues!

Results 6 trailing-slash-guide issues
Sort by recently updated
recently updated
newest added

AWS Amplify also cleans URLs by default, from `/home` to `/home/`. This can be fixed by the Rewrite Rule mentioned in the page: [Redirects for SPAs](https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa).

Would be handy to test home pages (`index.html` at the root of the site). I noticed Vercel throws a `ERR_TOO_MANY_REDIRECTS` error in this case when `cleanUrls=true`. I'll raise the issue...

(* stackoverflow: https://stackoverflow.com/questions/75442550 *) I have a website made by docusaurus `2.0.0-beta.18`. I realize that, in production, when I click on items in the sidebar, it first goes to `https://www.mywebsite.com/docs/a-page`....

Is the gh-pages incorrect? Pages add a trailing slash to the root. Gh pages deploy to `https://user.github.io/repo/` and `https://user.github.io/repo` redirects to `https://user.github.io/repo/`. Unless I'm not understanding the chart correctly.