[wp-trac] [WordPress Trac] #48025: When the permalink structure ends with a slash, a slash is appended to the URL of robots.txt.

WordPress Trac noreply at wordpress.org
Tue Jun 23 23:42:51 UTC 2020


#48025: When the permalink structure ends with a slash, a slash is appended to the
URL of robots.txt.
---------------------------------------------+-----------------------------
 Reporter:  Toro_Unit                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.5
Component:  Canonical                        |     Version:  5.3
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by whyisjake):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48153" 48153]:
 {{{
 #!CommitTicketReference repository="" revision="48153"
 Canonical: Ensure that when permalinks are set to a trailing slash, that
 robots.txt doesn't.

 Fixes #48025.

 Props Toro_Unit, joostdevalk, SergeyBiryukov.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48025#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list