]> git.mxchange.org Git - friendica.git/commitdiff
Add Google-Extended to default robots.txt
authorHannes Heute <5753419+haheute@users.noreply.github.com>
Fri, 29 Sep 2023 14:27:31 +0000 (16:27 +0200)
committerHannes Heute <5753419+haheute@users.noreply.github.com>
Fri, 29 Sep 2023 14:27:31 +0000 (16:27 +0200)
src/Module/RobotsTxt.php

index a084c1f4a6caf97c168b501e7df2f2daa11a8b86..96a2451ad24625f9ce4f18302262a08160730e4a 100644 (file)
@@ -52,6 +52,10 @@ class RobotsTxt extends BaseModule
                echo 'User-agent: ChatGPT-User' . PHP_EOL;
                echo 'Disallow: /' . PHP_EOL;
 
+               echo PHP_EOL;
+               echo 'User-agent: Google-Extended' . PHP_EOL;
+               echo 'Disallow: /' . PHP_EOL;
+
                echo PHP_EOL;
                echo 'User-agent: GPTBot' . PHP_EOL;
                echo 'Disallow: /' . PHP_EOL;