Skip to content

Commit 116ff83

Browse files
Adds some more robots.txt rules
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
1 parent 3ad40f3 commit 116ff83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Actions/Admin/SearchEngines.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,9 @@ protected static function addRobotsTxtRules(): void
11901190
'*' => [
11911191
'allow' => [],
11921192
'disallow' => [
1193-
Url::create(Config::$scripturl)->path . '?msg=*',
1193+
Url::create(Config::$scripturl)->path . '?msg=',
1194+
'*PHPSESSID=',
1195+
'*;topicseen',
11941196
],
11951197
],
11961198
];

0 commit comments

Comments
 (0)