java
Implement Ajax not only from the viewpoint of users but even search engines
Filed in archive AJAX by gautam on November 10, 2007
We all know that webmasters are increasingly using Ajax to improve user experience but we also need to consider the fact that crawlers have a pretty hard time with JavaScript. In order to ensure better compatibility between Ajax and search engine spiders Google Webmaster blog has offered certain tips which could help in creating better Ajax web pages not only from the viewpoint of users but even the search engine too. In order to ensure that Ajax and static links coexist Google says that you should format the links so that there is a static link while JavaScript function is also called. At the end of the day it would ensure Ajax functionality for JavaScript users whereas non- JavaScript users would be able to ignore the script and follow the link. If you still have not been able to get a hold of what I am saying go through the example to get a better understanding of it.

10053329.jpg


foo 32

Note that the static link's URL has a parameter (?foo=32) instead of a fragment (#foo=32), which is used by the Ajax code. This is important, as search engines understand URL parameters but often ignore fragments


What we are able to achieve as a result of it is not only a static link to the search engine but even the Ajax path is not ignored by the crawler with the use of onClick function. My advice to everybody out there working with Ajax is to not hesitate using it but implement it with proper understanding so that at the end of the day you meet both the interests of users and search engine.

Related Entries:

Permalink: Implement Ajax not only from the viewpoint of users but even search engines
Tags: ajax  search  engine  spider  static  links  2007  search+engines 
Trackback: http://publish.creative-weblogging.com/publish/mt-tb.pl/101309
img Addthis img Ask img Blinklist img del.icio.us img Digg img Fark img Facebook img Google img Lycos img Ma.gnolia Add this page to Mister Wong Mr Wong img Netscape img Netvousz img Newsvine img Reddit img StumbleUpon img Slashdot img Tailrank img Technorati img Wink img Yahoo

Vote for Implement Ajax not only from the viewpoint of users but even search engines:

  • Currently 8.00/10
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Rating: 8.00 out of 4 vote(s) cast.
 
Subscribe
Share It
RSSrss
See all blog subscribe options
Google google
What is RSS?
Yahoo! yahoo
Addthis Subscribe using any feed reader!
Bloglines Bloglines
Newsletter

TwitterFollow us on Twitter!