View Single Post
Old 24th September 2010, 16:43     #10
Cynos
 
Quote:
Originally Posted by smudge
The problem with the URL is it's a parameter which causes it to be forbidden. Like:
http://site/Resource?Action=Admin
instead of just:
http://site/Resource
or :
http://site/Resource?Action=Some_legal_action
Which are valid and I do want to be indexed. As far as I've been able to figure out, to exclude the admin actions, I'd have to expose them all in the robots.txt, which is not really something I want.

Hmm, how about you remap an url for admins only which redirects to Resource?Admin etc. /admin/* and forbid that, or UrlRewrite or something. That way you're not exposing anything about your API beyond it's existence.
__________________
So the perkbuster Hide abusing perks, crimbuster Garrett actually a crim - what's next? Roger Douglas is secretly poor? --Saladin
  Reply With Quote