From c8ec53ebddde0beb4e78408c72b9df64cff08858 Mon Sep 17 00:00:00 2001 From: torsten Date: Thu, 19 Nov 2026 00:09:49 +0100 Subject: [PATCH] =?UTF-8?q?robots.txt=20=C3=B6ffnen:=20Allow=20alle,=20noi?= =?UTF-8?q?ndex=20stattdessen=20im=20HTML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Abruf- und Vorschaudienste brechen bei einem Disallow: / vor dem HTTP-Request ab (PERMISSION_DENIED). robots.txt erlaubt jetzt alles; die private App bleibt über lang="noindex, nofollow" (Meta-Tag und X-Robots-Tag) aus den Suchmaschinen. --- views/layout.php | 1 + web/robots.txt | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/views/layout.php b/views/layout.php index d9f9177..fb6e052 100644 --- a/views/layout.php +++ b/views/layout.php @@ -25,6 +25,7 @@ $navActive = static function (string $area) use ($path): string { + diff --git a/web/robots.txt b/web/robots.txt index ec4644d..1775290 100644 --- a/web/robots.txt +++ b/web/robots.txt @@ -1,7 +1,7 @@ # Drink it cold – Terminplanung -# Die App selbst ist nicht öffentlich; nur die Pflichtseiten dürfen -# abgerufen werden (Links, Vorschauen, Suchmaschinen). +# Bewusst offen: Abruf- und Vorschaudienste (Google, Slack, Messenger …) +# brechen bei einem Disallow: / schon vor dem HTTP-Request ab. Die App +# selbst bleibt über +# und X-Robots-Tag aus den Suchmaschinen. User-agent: * -Allow: /impressum -Allow: /datenschutz -Disallow: / +Allow: /