From: Hassan Schroeder Date: 2012-10-25T08:12:12+09:00 Subject: Re: Googlebot- How to generate a 404 error status after a if statement On Wed, Oct 24, 2012 at 3:07 PM, Pierre d. wrote: > How could I generate a 404 error status whenever I want and if possible > in a rhtml file? In the relevant controller method add: response.status= 404 Done. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan