Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch removes the obsolete paths /database/
and /update/
and reorders the other paths and files by alphabet.
This patch needs to be backported to D6 and D5 as both also contains the obsolete path's.
Comment | File | Size | Author |
---|---|---|---|
D7_updated_robotstxt.patch | 1.04 KB | hass | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedI've committed this to CVS HEAD. Thanks. Lowering version to Drupal 6.
Comment #2
hass CreditAttribution: hass commentedPatch also applies cleanly to D6 and D5.
Comment #3
Gábor HojtsyI am a bit reluctant to commit this patch. On the plus side, it might prevent disallowing indexing of directories, the user might create in her Drupal installation, such as /database and /updates, so that might be an improvement for Drupal 6. On the minus side, it is unlikely that these paths are used and robots.txt is often edited, so we should reserve to changing it on production branches only when required, not for "cosmetic" changes. Otherwise we just give people some headache to diff and update their robots.txt for the new version without much benefit.
Comment #4
Gábor HojtsyPending on feedback from http://lists.drupal.org/pipermail/development/2008-November/031378.html
Comment #5
alexanderpas CreditAttribution: alexanderpas commentedComment #6
Gábor HojtsyOk, committed to Drupal 6 to coincide with the .htaccess change as well at: http://drupal.org/node/28776
Comment #7
drummCommitted to 5.x.