Ajax and search engine optmisation

Ajax is good at displaying different content in the same url. There is no way for search engines to index pages like that. What search engines need are unique urls. No matter how long the url, as long as they are unique, it is all good.

I heard there were some development in making search engines read ajax code… in the mean time, i dont think it will work after doing some experiments in a few websites. The inability for search engines to follow ajax hyperlinks is a major disadvantage to Web 2.0.

The are a few solutions and it seems that the most obvious one is to use utilise a javascript function to return false in the onclick attribute. That way, the page will remain static while search engines will still be happy. Search engines see the “a href”, ignores the “onclick” and follow the links… cool. The ugly side of it: All the hyperlinks look ugly.

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.