码迷,mamicode.com
首页 > Web开发 > 详细

AngularJS Best Practices: SEO

时间:2015-12-02 06:39:39      阅读:134      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!