-
Select Topic AreaBug BodyHello, I've tried various methods to fix this problem, but none seem to work. Some of the pages seem to work (Home, About, Projects). However, specific project pages don't work. If I click on a project, it tells me that the page doesn't exist. And if I press the back button on a 404 page, pages that seem to work also turn into 404 errors. Typing in a link of any page except for the Home page will also give a 404 error, but navigating to those pages (About, Projects) through the site itself seems to work. This seems really wacky and I'm not sure how to fix it. Links: Any help would be appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @ariyin, you can slove this issue by taking some steps: |
Beta Was this translation helpful? Give feedback.
I've managed to fix the issue of navigating to specific project pages (had to use Link from React instead of href), but I still have the problem where if I type the link into the search bar, GitHub gives me a 404 error, but navigating to the page from the home page works fine. Not sure how to fix this one.
EDIT: Found the solution to the aforementioned problem with this repo: https://github.com/rafgraph/spa-github-pages. If you do what the instructions say, the problem should be fixed.