-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Pages shows 404 error when navigating via BrowserRouter
#40
Comments
Having the same issue for a while, found any solution yet? :)) |
I had a similar issue, and found it was the way I was Handling my Routing. I was using
|
Hi @qnxdev, sorry about the long wait. In case you are still facing this issue, you may want to employ one of the two workarounds I listed in #104 (comment). One is to, as @israelmrios mentioned, switch back to You can learn more about the situation by reading the "Notes on client-side routing" section of the Create React Apps documentation: https://create-react-app.dev/docs/deployment/#notes-on-client-side-routing |
BrowserRouter
BrowserRouter
BrowserRouter
I have been using react app with gh pages using HashRouter.
Now I updated to Browserrouter.
Now the inital load everything is fine but reloading in and internal link returns Page not found
Some innner pages alse return page not found
suppose
site.com/about/me will show if I go there from site.com/
but on reload t shows page not found
check https://qnxdev.github.io/vjcbuild/
The text was updated successfully, but these errors were encountered: