Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35819, comment 1


Ignore:
Timestamp:
02/12/2016 07:48:52 PM (10 years ago)
Author:
dmchale
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35819, comment 1

    initial v1  
    33   At a group-member level, in particular for allow and disallow directives, '''the most specific rule based on the length of the [path] entry will trump the less specific (shorter) rule'''. The order of precedence for rules with wildcards is undefined.
    44
    5 Therefore `Allow: /wp-admin/admin-ajax.php` will trump `Disallow: /wp-admin/`
     5Therefore `Allow: /wp-admin/admin-ajax.php` will trump `Disallow: /wp-admin/` no matter which order they are listed
    66
    77Personally, before making any changes I would also like to see other evidence which corroborates the [https://en.wikipedia.org/wiki/Robots_exclusion_standard#Allow_directive Wikipedia article]'s assertion that `by standard implementation the first matching robots.txt pattern always wins`. There is no citation on that claim and I'd love to see something more concrete than one editor's choice of phrasing.