samoyed samoyed - 1 year ago 61
Javascript Question

google indexing text retrieved by ajax or javascript after page load

a couple of google questions:

1 - is there ANY chance that google will "see" text retrieved using ajax?

the user selects from a chain of select boxes and some text from the Db is displayed.

2 - if i change the page title using javascript, outside the HEAD area, will google index the modified title?

sorry if these are trivial questions and thanx for any reply

have a nice day :-)

Answer Source

What Google sees is what you see when you disable javascript on your browser. So the answer to both your questions is no.

The correct way to have all the data of your site indexed is to degrade gracefully inside <noscript> tags. For example, you could offer an interface to browse all the content of your database, using list and sublists of requests that point to proper result pages, that are well integrated in your site.

Warning note: your content must really be a noscript version of your site. If you create a special site, it becomes cloaking, which is forbidden.

Update: Since 2014, Google seems to support everything you can think of (including javascript and ajax).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download