Give AI bots the boot #22

Zusammengeführt
Chaoscaot hat 1 Commits von kick-ai-bots nach master 2024-11-26 15:34:51 +01:00 zusammengeführt
Nur Änderungen aus Commit 5f90025493 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -34,9 +34,27 @@ export default defineConfig({
}, },
}), }),
robotsTxt({ robotsTxt({
policy: [{ policy: [
userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"], { userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"] },
}], { userAgent: "anthropic-ai", disallow: "/" },
{ userAgent: "Applebot-Extended", disallow: "/" },
{ userAgent: "Bytespider", disallow: "/" },
{ userAgent: "CCBot", disallow: "/" },
{ userAgent: "ChatGPT-User", disallow: "/" },
{ userAgent: "ClaudeBot", disallow: "/" },
{ userAgent: "Claude-Web", disallow: "/" },
{ userAgent: "cohere-ai", disallow: "/" },
{ userAgent: "Diffbot", disallow: "/" },
{ userAgent: "FacebookBot", disallow: "/" },
{ userAgent: "GPTBot", disallow: "/" },
{ userAgent: "ImagesiftBot", disallow: "/" },
{ userAgent: "Meta-ExternalAgent", disallow: "/" },
{ userAgent: "Meta-ExternalFetcher", disallow: "/" },
{ userAgent: "omgili", disallow: "/" },
{ userAgent: "OmigliBot", disallow: "/" },
{ userAgent: "PerplexityBot", disallow: "/" },
{ userAgent: "Timpibot", disallow: "/" }
],
}), }),
mdx(), mdx(),
], ],