Making WordPress.org

Changeset 12456


Ignore:
Timestamp:
03/07/2023 01:37:13 AM (4 years ago)
Author:
dd32
Message:

WordPress.org: Link to the Documentation sitemap from the main robots.txt file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-robots.php

    r11979 r12456  
    6060        $blog_details = get_blog_details();
    6161
    62         // Prefix the News and Showcase sitemaps
     62        // Prefix the News, Showcase, and Documenation sitemaps
    6363        if ( 'wordpress.org' === $blog_details->domain ) {
    6464                $robots = "Sitemap: https://wordpress.org/news/sitemap.xml\n" .
    6565                          "Sitemap: https://wordpress.org/showcase/sitemap.xml\n" .
     66                          "Sitemap: https://wordpress.org/documentation/sitemap.xml\n" .
    6667                          $robots;
    6768        }
Note: See TracChangeset for help on using the changeset viewer.