title: Dynamic routing in next.js make google doesn't index my website
body: <p>I search on google a lot about this issue.
  I'm using <code>React</code>+<code>Next.js V9</code> and <code>google search console</code> for SEO.</p>
  
  <p>Google only index main page from my website.
  I guess it's because it's routed dynamically.
  I changed folder structure with upgrading <code>Next.js</code> to version 9 because I thought it could make easily route dynamically without working server-side and it could be index by google. However, nothing changed. Google only index main page.(index.js)</p>
  
  <p>I add my code below.
  If you have any idea, please give me some advice about this.
  Thank you.</p>
  
  <p><strong>Folder Structure</strong></p>
  
  <pre><code>├── _app.js
  ├── _document.js
  ├── all
  │   └── [filter].js
  ├── category
  │   └── [name].js
  ├── contact.js
  ├── index.js
  ├── privacy-policy.js
  └── store
      └── [name].js
  
  </code></pre>
  
  <hr>
  
  <p><strong>Store/[name]/index.js</strong></p>
  
  <pre class="lang-js prettyprint-override"><code>// ...
  // This link routes specific store. It works very well, but just can't index from google
  
  &lt;Link href={`/store/[name]`} as={`/store/${store.name}`} passHref&gt;
      &lt;a&gt;&lt;BtnSeeMenu&gt;See Menu&lt;/BtnSeeMenu&gt;&lt;/a&gt;
  &lt;/Link&gt;
  </code></pre>