User-agent: * Disallow: /DIR/search.php Disallow: /DIR/cat/*/next/0/ User-agent: Mediapartners-Google Allow: /