On Aug 1, 2011, at 8:56 PM, Rajinder Yadav wrote:

Hi guys I am wondering how a rails site get indexed by search engines?

If my landing page get generated dynamically, how does a search engine know: 1) the content had changed,

They won't, not until they come around to scan it again (on a schedule you cannot influence very much). Depending on how popular your site is, how often it comes up high in results for actual searches, it may be indexed more frequently than other sites.

I have one site that apparently is crawled by Google about every 20 minutes, but that site gets zillions of page views by a specialist audience, and is deeply authoritative on a single subject. But you can add something to it, and wait an hour and search for one of the phrases in that addition, and it will be found.

and what keywords to index the site against from the body text?

If you feel like adding keywords to your page, that can help it be found under search terms that don't occur naturally in the page text, but not really very much stock is put in these by the engines, mostly because of rampant fraud by SEO snake-oil-salesmen. Any search engine spider will simply read the source code of your page, and determine the topics it is authoritative about based on the actual HTML text in your page, the links out of it, and the links into it. Then it will build a list of all the internal links in the page, follow them one at a time, and repeat the process.

Walter


--
Kind Regards,
Rajinder Yadav | http://DevMentor.org | Do Good! ~ Share Freely

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails- [email protected]. To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to