Replies: 1 comment
-
|
We have a trailingSlash config, and your host Nging probably have one too. First you need to define if you want a trailing slash or not for the canonical/reference urls, and then configure both tools accordingly. Both are possible depending on hosts/tools you choose. Unfortunately it's specific to hosts/tools and we can't document all tools exhaustively. I don't know Nginx so unfortunately you'll have to figure this out yourself or ask the community on Discord. My intuition is that you should use either |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Docusaurus Version: 3.6.0
Self-hosted: Nginx
Nginx.conf:
Question
When I click on the document in the sidebar, the URL does not carry
/.When I enter the
https://www.rainbond.com/docs/quick-start/quick-installURL directly in the browser, it will automatically add/at the end, for example:https://www.rainbond.com/docs/quick-start/quick-install/In
sitemap.xml,https://www.rainbond.com/docs/quick-start/quick-installdid not carry/.This would cause algolia crawler to not use sitemap to properly index my document.
Looking forward to reply.
Beta Was this translation helpful? Give feedback.
All reactions