Replies: 1 comment
-
By default, Docusaurus uses soft navigation (not reloading the HTML page) to navigate to other pages it created. If you want to link to a page Docusaurus did not create, you shouldn't use soft navigation, because Docusaurus can't render this page client-side, and will display a 404 instead. You can link to pages outside of Docusaurus by forcing a hard navigation through various ways:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want my Docusaurus pages to be in
/docs
of an existing site, but I cannot link from inside Docusaurus to pages outside of Docusaurus./contact
is a valid page. If I enterhttps://mysite/contact
in the browser I get the page outside of Docusaurus.A link in a Docusaurus page to
/contact
will cause a 404.How can I tell Docusaurus to allow links outside of itself?
Beta Was this translation helpful? Give feedback.
All reactions