Build SEO-friendly AJAX Website
2006年9月11日星期一
AJAX能够为Web Application增加良好的User-friendy, 由于今天的search engine robots不能阅读Javascript内容,所以搜索引擎不可收录AJAX的Website, 可以从以下方面做些许改进来建设友好的搜索引擎优化的Website.
一、使用<noscript>标签,要注意在每页的<noscript>标签中书写不同的内容,否则可能被认为是SEO作弊手段中的第三条而被认为是Spam:
<head>
<title>Entry Page to your new Website</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″/>
<meta name=”Keywords” content=”Keyword for your Website”/>
<meta name=”Description” content=”Excellent convincing sales copy for your website”/>
</head>
<body>
The content of your Websites body begins here. This is where you will call your AJAX information, including the Javascript.
<script type=”text/javascript”>
<!–document.write(”This is just the Beginning!”)//–>
</script>
<noscript>
<p>Begin the information to be covered when the script can not be used. </p>
<p>Your browser does not support JavaScript! This page covers the following information relater to ours product and services. </p>
</noscript>
…
…
</body>
<html>
二、好的AJAX程序应该允许用户在完全禁止Javascript的时候也能够正常工作,为第一个AJAX页面准备一个独特的URL, 使用Google Web Toolkit来开发,Google Web Toolkit考虑了AJAX SEO的问题。
参考资料:
Implementing AJAX? SEO and Accessibility Considerations
SEO Considerations for AJAX Development
标签: Technologies
发表评论
订阅 博文评论 [Atom]
<< 主页