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
Uh oh!
There was an error while loading. Please reload this page.
-
I want my Docusaurus pages to be in
/docsof an existing site, but I cannot link from inside Docusaurus to pages outside of Docusaurus./contactis a valid page. If I enterhttps://mysite/contactin the browser I get the page outside of Docusaurus.A link in a Docusaurus page to
/contactwill cause a 404.How can I tell Docusaurus to allow links outside of itself?
Beta Was this translation helpful? Give feedback.
All reactions