User-agent: * Disallow: /?searchtext Disallow: /index.php?searchtext