title: Briefly getting a 404 response when loading any page other than home page in react app on Github pages
body: <p>I am trying to create a Google ad that links to a specific page in my website, which is a react app hosted on GitHub pages using a custom domain. Google is giving me an error &quot;Destination not working&quot;, which is weird because regardless of which browser I use I can access the web page without a problem. Using httpstatus.io/ shows me that the web page is indeed returning a 404 error, and if I view the network activity when loading the web page it returns 404 for a tiny fraction of a second before loading the correct web page.</p>
  <p>What could be the cause of this?</p>