我计划创建一个完整的Ajax网站项目,并在其中使用SEO。该网站的网址需要像这样:www.mysite.gr/#/class 1,以供谷歌可以爬行该网站。但我对于ajax和seo还不太熟悉,你们有什么建议吗?谢谢。
https://stackoverflow.com/questions/768233/do-hashes-in-urls-affect-seo
You might want to read about so called progressive enhancement.
The search engines will spider the initial page load - what happens to the page (with ajax) after that is irrelevant to listings.
I don't think Google is capable of doing so (yet) http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html
However you can of course make your site usable with or without JavaScript. That way, browsers will have the full candy stuff and Google (and text browsers) still can navigation your site.
In addition to SEO, you also need to think about usability standards here. A site that is that reliant on AJAX isn't going to work for things like screen-readers as well as spiders. You need a system for graceful degreadation. A website that can't function without JavaScript isn't really a functioning website.
Google supports indexing of AJAX sites, but unfortunately it involves extra work for the developer. See http://code.google.com/web/ajaxcrawling/docs/getting-started.html
Google itself doesn't crawl ajax content but advice a mechanism for it. For this you first need to change # to #!
Whole process to SEO AJAX content is explained here along with simple asp.net code to start working on it.