My application (2.3.8) has been live for some time now and I have been
getting it indexed by Google and some other bots. These bots are
throwing exceptions in the application when they perform a GET request
on some of my controllers with no params, particularly with Ajax
requests and Auto_complete.

I have sorted these out with using validate for certain applications
at the controller level.

e.g. verify :params => "promotion", :redirect_to => '/'  # BTW is
there a better way of specifying root?

This seems to work but how do others handle this and what sort of
redirect makes sense for SEO?  Perhaps shutting this off at the routes
level?  Any other ideas?

O.

-- 
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-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to