Autoredirect to 404 when custom page url is used #5497
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: question
This issue is a user error/misunderstanding.
🐛 Bug Report
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I have deployed Docusaurus at Cloudflare Pages (see https://flyer-flutter-docs.pages.dev/chat-ui/installation) and everything is fine. However, I also have tried to use it on our own domain with a simple redirection (via Cloudflare Workers, that's not so important) https://docs.flyer.chat/flutter/chat-ui/installation But sadly Docusaurus redirects me to 404.
Have you read the Contributing Guidelines on issues?
Yes.
Steps to reproduce
Use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Write your steps here:)
Expected behavior
Expecting the same behaviour at https://flyer-flutter-docs.pages.dev/chat-ui/installation as at https://docs.flyer.chat/flutter/chat-ui/installation
Actual behavior
The returned page is correct, but then it redirects to 404 page. It's easy to see this redirect, just smash cmd+R to refresh the page.
Your environment
Reproducible demo
Links are already mentioned above.
Note
Problem occurs with every page,
chat-ui/installation
is just the smallest page in our docs.The text was updated successfully, but these errors were encountered: