title: Google Crawler in Search Console can't found routes in React using Github Page
body: <p>My problem is <strong>Crawl</strong> in <strong>Google Search Console</strong> can't found sub-routes in <strong>React</strong>.</p>
  
  <p>The URL is <a href="https://huynhsamha.github.io/crypto" rel="nofollow noreferrer">https://huynhsamha.github.io/crypto</a>, and crawler can <code>fetch and render</code> homepage (route <code>/</code>) and static files such as <code>/robots.txt</code>, <code>/favicon.ico</code>, but it can't found the sub-routes, which are rendered by React, (<strong>SPA</strong>, using <code>Redux</code>), such as <code>/algorithm/sha256</code>. Example, <a href="https://huynhsamha.github.io/crypto/algorithm/sha256" rel="nofollow noreferrer">https://huynhsamha.github.io/crypto/algorithm/sha256</a> can't found by Crawler but it can be accessible.</p>
  
  <p>This is my screenshot in Google Search Console I've tried.</p>
  
  <p><a href="https://i.stack.imgur.com/PnvdS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PnvdS.png" alt="enter image description here"></a></p>
  
  <p>Who can explain why and how to fix my problem? I'm using <code>react-router-dom</code> with <code>react-redux</code> My repository on github <a href="https://github.com/huynhsamha/crypto" rel="nofollow noreferrer">here</a></p>
  
  <p><strong>Edit 1</strong></p>
  
  <p>I've also tried the answer <a href="https://stackoverflow.com/a/53966338/8828489">https://stackoverflow.com/a/53966338/8828489</a> in this question, but not working. I've added script in <code>index.html</code> (<a href="https://github.com/huynhsamha/crypto/blob/gh-pages/index.html" rel="nofollow noreferrer">https://github.com/huynhsamha/crypto/blob/gh-pages/index.html</a>), but search console can't still found, so it also can't render any error on screen.</p>
  
  <p><strong>Edit 2</strong></p>
  
  <p>I've also tried the answers <a href="https://stackoverflow.com/a/54040745/8828489">https://stackoverflow.com/a/54040745/8828489</a> and <a href="https://stackoverflow.com/a/54048119/8828489">https://stackoverflow.com/a/54048119/8828489</a> in this question, but not working. I've created <strong>404.html</strong> file and add scripts as the answer instructs but it didn't also work.</p>
  
  <p><strong>Edit 3</strong></p>
  
  <p>I've also tried the answer <a href="https://stackoverflow.com/a/54044148/8828489">https://stackoverflow.com/a/54044148/8828489</a> in this question by creating a simple <code>sitemap.xml</code>, googlebot can find this file and discover all URLs I defined in sitemap. But it also cannot fetch and render URLs mentioned.</p>