# Search Engines are throwing 'illegal' SHOW requests?

**URL:** <https://www.ruby-forum.com/t/search-engines-are-throwing-illegal-show-requests/131273>\
**Category:** Rails\
**Created:** [March 7, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/search-engines-are-throwing-illegal-show-requests/131273 "2008-03-07T15:31:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 7, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/search-engines-are-throwing-illegal-show-requests/131273/1 "2008-03-07T15:31:53Z")

</div>

Now that I’ve finally got all of my websites deployed I find  
interesting Exception\_Notification messages being generated when the  
‘spiders’ ask for illegal requests on my website. For example:  
I have a nested data structure whereas forums belongs to forcats. So a  
request through my application is http:\www.websitename.com\forcats  
\1\forums\6.  
The search engines are throwing requests at me like:  
http:\www.websitename.com\forums\6.  
My traditional SHOW action looks like this;

def show  
@forum = @forcat.forums.find(params[:id])  
respond\_to do |format|  
format.html  
end  
end

Do you have any idea how I can protect against this?  
I am grateful for your reply.  
Kathleen
