saascity / typo3-ai-robots
TYPO3 CMS extension that serves clean, configurable AI crawler robots.txt directives for GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and other LLM agents.
Package info
github.com/nyyhao/typo3-saascity-ai-robots
Type:typo3-cms-extension
pkg:composer/saascity/typo3-ai-robots
Requires
- php: ^8.1
- psr/http-message: ^1.1 || ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
- typo3/cms-core: ^12.4 || ^13.0
- typo3/cms-frontend: ^12.4 || ^13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A lightweight PSR-15 middleware extension for TYPO3 CMS v12 and v13 (saascity/typo3-ai-robots) that serves clean, RFC 9309 compliant robots.txt rules for AI search and training crawlers—including GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, CCBot, Applebot-Extended, and Bytespider.
Need to test or customize your AI crawler policy interactively? Try the free SaaSCity Robots.txt Generator.
Features
- TYPO3 v12.4 & v13.x compatible (
typo3-cms-extension, extension keysaascity_ai_robots) - Non-destructive merge mode: appends missing AI crawler blocks to your existing site
robots.txtstatic route without duplicating already-configured user-agents - Three built-in policy presets:
allow-search-block-training(default): allows AI search/citation crawlers (OAI-SearchBot,ChatGPT-User,PerplexityBot) while blocking model training crawlers (GPTBot,ClaudeBot,Google-Extended,CCBot,Applebot-Extended,Bytespider)allow-all: allows all major AI crawlers while protecting/typo3/and/typo3conf/block-all: disallows all listed AI crawlers
- Zero external runtime dependencies beyond TYPO3 Core and PSR-15
Installation
composer require saascity/typo3-ai-robots
Flush TYPO3 caches after installation:
vendor/bin/typo3 cache:flush
Configuration
Configure the extension in the TYPO3 Backend under Settings → Extension Configuration → saascity_ai_robots or in config/system/settings.php:
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['saascity_ai_robots'] = [ 'enabled' => '1', 'preset' => 'allow-search-block-training', 'appendToExisting' => '1', 'disallowPaths' => '/typo3/,/typo3conf/', 'sitemapUrl' => 'https://example.com/sitemap.xml', ];
Example Output (/robots.txt)
User-agent: *
Allow: /
# AI Crawler Directives (saascity/typo3-ai-robots)
User-agent: OAI-SearchBot
Allow: /
Disallow: /typo3/
Disallow: /typo3conf/
User-agent: ChatGPT-User
Allow: /
Disallow: /typo3/
Disallow: /typo3conf/
User-agent: PerplexityBot
Allow: /
Disallow: /typo3/
Disallow: /typo3conf/
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
Related Free SEO & Launch Tools
- SaaSCity — SaaS directory, visibility, and launch tools
- Free Robots.txt Generator — Visual builder for AI & search crawler directives
- Domain Rating Checker — Check domain authority and backlink readiness
- SaaSCity MCP Server — Connect AI agents directly to SaaSCity launch & SEO tools
License
MIT License. See LICENSE for details.