Google如何知道使用GatsbyJS时要爬网的页面

时间:2019-01-24 23:38:57

标签: reactjs seo gatsby google-crawlers

请原谅我缺乏知识,我仍然是使用GatsbyJS的新手。

在本地扩展时,如果我打到404页面,我会得到可用页面的列表。 (请参阅附件)

只是想知道Google是否为所有这些页面编制索引?

enter image description here

1 个答案:

答案 0 :(得分:2)

如果Google能够看到指向它们的链接并且您没有<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" rel="stylesheet"/> <div class="buttonForTab m-0 p-0"> <span><button class="tabButton"><a>Button 1</a></button></span> <span><button class="tabButton"><a>Button 2</a></button></span> <span><button class="tabButton"><a>Button 3</a></button></span> <span><button class="tabButton"><a>Button 4</a></button></span> </div>中没有影响它们的索引提示或Disallow规则,则Google很可能会这样做。最好的选择是使用gatsby-plugin-sitemap生成sitemap.xml。您可以提交给Google和其他人。