From c92a42aec78c017f9718a3577d37dd3c7956fb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Thu, 14 Mar 2024 13:05:38 +0100 Subject: [PATCH] Robots: disallow more internal parameters --- src/Robots/RobotsPresenter.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Robots/RobotsPresenter.php b/src/Robots/RobotsPresenter.php index f753131..aa763b5 100644 --- a/src/Robots/RobotsPresenter.php +++ b/src/Robots/RobotsPresenter.php @@ -14,8 +14,9 @@ public function run(Request $request): Response { $content = <<<'TXT' User-agent: * -Disallow: /*?do= -Disallow: /*&do= +Disallow: /*?*fbclid= +Disallow: /*?*fid= +Disallow: /*?*do= TXT; return new FileContentResponse('robots.txt', $content, 'text/plain', false);