Search by

saascity / typo3-ai-robots

nyyhao

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

Homepage

Documentation

Type:typo3-cms-extension

pkg:composer/saascity/typo3-ai-robots

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-11-28 13:51 UTC

This package is auto-updated.

Last update: 2026-11-28 14:00:56 UTC


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 key saascity_ai_robots)
  • Non-destructive merge mode: appends missing AI crawler blocks to your existing site robots.txt static 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

License

MIT License. See LICENSE for details.