summaryrefslogtreecommitdiffstatshomepage
path: root/robots.txt
diff options
context:
space:
mode:
authorcatch <catch@35733.no-reply.drupal.org>2020-08-26 09:40:47 +0100
committercatch <catch@35733.no-reply.drupal.org>2020-08-26 09:40:47 +0100
commiteecc9bf2dd2737e565aa6c7605690a3526cc953a (patch)
tree9df204af47578faa5c3a852331f13de207d83d65 /robots.txt
parent8b56da2ca7e28077408609abaa0501c42bfe5a6b (diff)
downloaddrupal-eecc9bf2dd2737e565aa6c7605690a3526cc953a.tar.gz
drupal-eecc9bf2dd2737e565aa6c7605690a3526cc953a.zip
Issue #3123285 by Neslee Canil Pinto, amjad1233, shaktik, Chi, xjm, bkosborne, quietone: Actually exclude user register, login, logout, and password pages from search results in robots.txt (current rules are broken)
Diffstat (limited to 'robots.txt')
-rw-r--r--robots.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/robots.txt b/robots.txt
index 54da16277ad..18f8df8e693 100644
--- a/robots.txt
+++ b/robots.txt
@@ -45,17 +45,17 @@ Disallow: /comment/reply/
Disallow: /filter/tips
Disallow: /node/add/
Disallow: /search/
-Disallow: /user/register/
-Disallow: /user/password/
-Disallow: /user/login/
-Disallow: /user/logout/
+Disallow: /user/register
+Disallow: /user/password
+Disallow: /user/login
+Disallow: /user/logout
# Paths (no clean URLs)
Disallow: /index.php/admin/
Disallow: /index.php/comment/reply/
Disallow: /index.php/filter/tips
Disallow: /index.php/node/add/
Disallow: /index.php/search/
-Disallow: /index.php/user/password/
-Disallow: /index.php/user/register/
-Disallow: /index.php/user/login/
-Disallow: /index.php/user/logout/
+Disallow: /index.php/user/password
+Disallow: /index.php/user/register
+Disallow: /index.php/user/login
+Disallow: /index.php/user/logout