Ajax and Javascript for SEO now that googlebot understands Javascript

2008年05月07日 09:54 • 查看 62 次 • 打印本文

In that post people answered that google doesn’t understand Js so it’s fine to use Ajax and Javascript freely (or with little changes) for SEO.

Well this is a common misconception, many people who do SEO professionally actually still think that google doesn’t understand javascript. If you are one of them please go to google and type: “How do search engines’ bots handle javascript?” and read the first result thouroughly.

In that document it shows how this is not the case and how google understands most javascript apart the one connected with the DOM (at least 1 year ago). Please say if you find something wrong or not believe in the article.
So NOW, what are the reccomendations for using Ajax and/or Javascript in order to get some duplicate content out of a page?

I can think of 3 main approaches:
1. Including the duplicate content in an external Js, assign it to variables, and do innerHTML to some divs. (old style)
2. Using XmlHTTPRequest (GET) to retrieve the data in XML format and then put it into the page.
3. Do an Ajax POST and retrieve the XML content with this. (slower as the page will be processed twice by the server but this seems the safest as in my research Google cannot do post requests).

A 4th method would be using an encryption that google can’t solve (I would know how to do that), but I am reluctant to cheat or to be appearing like cheating as I care about my site…. so I don’t want to use it.

I think this is a very important and complex topic, what do you think is the best approach to get rid of dupe? Do you think google could get suspicious with any of these approaches? I don’t mind that google reads the content, but I would like that google doesn’t consider that text as much as the unique text on the page.
Please give me your opinion even if you are not sure or you didn’t test it, I would like to hear all opinions and maybe we can find a good answer.

评论

发表评论