Skip to content

Commit

Permalink
Robots: disallow more internal parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Mar 14, 2024
1 parent 60c4bb0 commit c92a42a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Robots/RobotsPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c92a42a

Please sign in to comment.