Ad

How Does Google Know What Pages To Crawl When Using GatsbyJS

- 1 answer

Pardon my lack of knowledge here, I am still new to using GatsbyJS.

When building out locally if I hit a 404 page I get a list of available pages. (see attached)

Just wondering if google indexes all these pages?

enter image description here

Ad

Answer

Google most likely will if it can see links to them and you don't have noindex hints or Disallow rule that affects them in robots.txt. Your best bet is to use gatsby-plugin-sitemap to generate a sitemap.xml . That you can submit to google and others.

Ad
source: stackoverflow.com
Ad