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)
parent
8b56da2ca7
commit
eecc9bf2dd
|
@ -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
|
||||
|
|
16
robots.txt
16
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
|
||||
|
|
Loading…
Reference in New Issue