前言
转载请注明出处,然后完整转载。
做过单页web的都知道,页面可以理解为只是一个空架子,里面什么都没有,比如我的网站多色图片网的核心显示部分:
<section class="content content-top">
<section id="doocr-header-top" class="text-center">
<article class="jumpotron container-fluid">
<h1 class="top-header-title">多色网 -- 做中国最好的在线图片处理网站</h1>
</article>
</section>
<section id="doocr-header-top" class="text-center">
<article class="jumpotron container-fluid">
<h1 class="top-header-title">多色网 -- 做中国最好的在线图片处理网站</h1>
</article>
</section>
<section>
<section ui-view class="section-style"></section>
</section>
</section>
都是由ui-route来做的页面路由,js完成的操作是不会被seo解析的。
首先,网上有很多说单页web处理seo的办法,比如AngularJS的处理,都是这样做的:
在html里面添加:
<meta name="fragment" content="!">
文章迁移至: