Reputation: 3369
I have SHTML files which I'd like to implement the following:
<noscript>
tag. The exact implementation of the next step doesn't really matter.
Step 2: Then on page load, the JS requests a PHP script returns either:
The main thing to take from this is that the content is printed by JavaScript. Will Google still index the pages just as before (including the content)? Will I need to add anymore code/directives? Will Google index just as often, etc.?
NOTE: Content will always be printed for Google. (No Captcha)
Upvotes: 0
Views: 167
Reputation: 31078
No. The Google bot does not support Javascript.
See http://www.google.com/support/webmasters/bin/answer.py?answer=35769#2 :
Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.
Upvotes: 4