Changeset 9818
- Timestamp:
- 05/04/2020 02:23:37 AM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-robots.php
r9072 r9818 56 56 ) { 57 57 $robots = "Sitemap: https://{$blog_details->domain}/plugins/sitemap.xml\n" . $robots; 58 //$robots = "Sitemap: https://{$blog_details->domain}/themes/sitemap.xml\n" . $robots;58 $robots = "Sitemap: https://{$blog_details->domain}/themes/sitemap.xml\n" . $robots; 59 59 } 60 60 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r9761 r9818 87 87 88 88 // Ensure all requests are trailingslash'd. 89 if ( $path && '/' !== substr( $path, -1 ) ) {89 if ( $path && '/' !== substr( $path, -1 ) && '.xml' !== substr( $path, -4 ) ) { 90 90 $url = str_replace( $path, $path . '/', $_SERVER['REQUEST_URI'] ); 91 91 wp_safe_redirect( $url, 301 );
Note: See TracChangeset
for help on using the changeset viewer.