首页 > Web开发 > 详细

AngularJS Best Practices: SEO

时间:2015-12-02 06:39:34      阅读:365      评论:0      收藏:0      [点我收藏+]

Google can execute AJAX & JavaScript for indexing, you can read the below link for more detailed information:
Ajax crawling full specification: https://developers.google.com/webmasters/ajax-crawling/docs/specification

 

From the above link you will know why some AngularJS websites use ‘#!‘ in the url instead of ‘#‘ and have the following meta ‘<meta name="fragment" content="!">‘ in the html.
Sitemap.xml will help Google to crawl your web pages, you can also consider prerender for example: https://prerender.io/documentation/install-middleware.

Google Webmater Tools and Fetch As Google enable you to test if Google can crawl your web pages.

 

AngularJS Best Practices: SEO

原文:http://www.cnblogs.com/zhangpengc/p/5011856.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!