'/search',
'/help',
'/proxy',
+ '/photo',
+ '/avatar',
];
header('Content-Type: text/plain');
foreach ($allDisallowed as $disallowed) {
echo 'Disallow: ' . $disallowed . PHP_EOL;
}
+
+ echo PHP_EOL;
+ echo 'User-agent: ChatGPT-User' . PHP_EOL;
+ echo 'Disallow: /' . PHP_EOL;
+
+ echo PHP_EOL;
+ echo 'User-agent: GPTBot' . PHP_EOL;
+ echo 'Disallow: /' . PHP_EOL;
+
System::exit();
}
}