search

Home  >  Q&A  >  body text

Github page cannot find React site

<p>I'm trying to launch a photography website on Github Pages, but when I try to deploy, the link says "Website not found" despite the rest of the index.html appearing<br /><br /> ;It displays the title and "Hello World" but not the actual website. The website used to work locally, but now it just says "hello world, site not found". <br /><br />Website: https://ohong87.github.io/portfolio/<br /><br />Repo: https://github.com/ohong87 /portfolio<br /><br />EDIT ** Caught the error - "Page does not exist" is the default message when the current URL does not match any route. Now try to figure out why the homepage doesn't show </p><p><br /></p> by default
P粉729518806P粉729518806504 days ago455

reply all(1)I'll reply

  • P粉788765679

    P粉7887656792023-08-02 00:42:14

    Please change your repo name to "ohong87.github". In your repo you have to use build files. The current project is a react project. Therefore, you have to build your react project as HTML files. Good luck.

    reply
    0
  • Cancelreply