2

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 :-)

samoyed
  • 881
  • 4
  • 13
  • 25

3 Answers3

2

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).

Jerome
  • 2,350
  • 14
  • 25
  • 1
    sorry, but that is a little bit outdated. google does some crappy parsing of onsite javascript. this means: if there is text in the onsite javascript google will treat it as such. what is outlined above was true about 2 - 3 years ago. – Franz Enzenhofer Jun 06 '11 at 08:52
  • What about [this](http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157)? – alecov Jun 14 '16 at 20:31
0

Try using seo-browser.com or lynx browser to see how google see your site.

Dori
  • 915
  • 1
  • 12
  • 20
0

Also see this answer on Googlebot doesn't see jquery generated content and/or this document by Google, on ways you can have your AJAX content spidered.

Community
  • 1
  • 1
DuckMaestro
  • 15,232
  • 11
  • 67
  • 85