Changeset 11722
- Timestamp:
- 03/30/2022 07:58:29 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-robots.php
r11094 r11722 25 25 $robots .= "\nUser-agent: *\n" . 26 26 "Disallow: /search\n" . 27 "Disallow: /?s=";27 "Disallow: /?s=\n"; 28 28 29 29 } elseif ( 's-origin.wordpress.org' === $blog_details->domain ) { 30 30 // Placeholder for the s.w.org domain. See https://meta.trac.wordpress.org/ticket/5668 31 // Intentional overw ite of value.31 // Intentional overwrite of value. 32 32 $robots = "User-agent: *\n" . 33 33 "Disallow:\n"; 34 34 35 } 36 37 // WordPress.org/plugins/search/* should not be indexed for now. See https://meta.trac.wordpress.org/ticket/5323 38 if ( 'wordpress.org' === $blog_details->domain || defined( 'IS_ROSETTA_NETWORK' ) ) { 39 $robots .= "\nUser-agent: *\n" . 40 "Disallow: /plugins/search\n"; 35 41 } 36 42
Note: See TracChangeset
for help on using the changeset viewer.