google 如何知道在使用 GatsbyJS 时要抓取哪些页面

How does google know what pages to crawl when using GatsbyJS

请原谅我知识匮乏,我对使用 GatsbyJS 还是个新手。

在本地构建时,如果我点击 404 页面,我会得到一个可用页面列表。 (见附件)

只是想知道是否 google 索引了所有这些页面?

Google 如果它可以看到指向它们的链接并且您在 robots.txt 中没有影响它们的 noindex 提示或 Disallow 规则,则很可能会。最好的选择是使用 gatsby-plugin-sitemap 生成 sitemap.xml 。您可以提交给 google 和其他人。