Angular 2 个在 Apache 上 |搜索引擎爬虫
Angular 2 on Apache | search engines crawler
我编写了一个简单的 Angular 2 应用程序并将其发布到托管服务提供商的 Apache 服务器上。我的网站有可能被搜索引擎抓取吗?我用谷歌搜索该网站需要在服务器端呈现,但我没能找到任何关于它的信息。
The GoogleBot can crawl your website just fine,因为它还在该站点上执行 javascript 运行。
In the case of Angular2 it is clear that the GoogleBot's JavaScript capabilities are good enough to render the rather sophisticated front end framework. The demo application rendering shows that GoogleBot does render everything ok - even without Universal Rendering.
使用 Google Webmaster tools 您可以让 GoogleBot 访问您的网页并呈现您的网站。
我编写了一个简单的 Angular 2 应用程序并将其发布到托管服务提供商的 Apache 服务器上。我的网站有可能被搜索引擎抓取吗?我用谷歌搜索该网站需要在服务器端呈现,但我没能找到任何关于它的信息。
The GoogleBot can crawl your website just fine,因为它还在该站点上执行 javascript 运行。
In the case of Angular2 it is clear that the GoogleBot's JavaScript capabilities are good enough to render the rather sophisticated front end framework. The demo application rendering shows that GoogleBot does render everything ok - even without Universal Rendering.
使用 Google Webmaster tools 您可以让 GoogleBot 访问您的网页并呈现您的网站。