【发布时间】:2017-06-10 03:14:07
【问题描述】:
我正在为ExpressJS 应用程序使用预渲染。我将<meta name="fragment" content="!"> 保留在index.html 页面中。当我使用mywebsite.com/?_escape_fragment_= 时它工作正常,但是当我使用 fetch 作为 google 来获取mywebsite.com/ 时,我看不到任何数据。但是对于带有?_escape_fragment_= 的丑陋格式,它的工作原理就像魅力一样。
当 mywebsite.com 被编入索引时,Googlebot 是否会将其抓取为 mywebsite.com/?_escape_fragment_=,或者我需要为此做些什么?
【问题讨论】:
标签: reactjs express seo google-search-console prerender