[wp-trac] [WordPress Trac] #64580: robots.txt is using ABSPATH

WordPress Trac noreply at wordpress.org
Mon Feb 2 10:44:38 UTC 2026


#64580: robots.txt is using ABSPATH
--------------------------+-----------------------------
 Reporter:  timse201      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  7.0
Component:  Site Health   |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"61577" 61577]:
 {{{
 #!CommitTicketReference repository="" revision="61577"
 Site Health: Correct the check for a static `robots.txt` file.

 This ensures that the file existence is properly detected when WordPress
 is located in a subdirectory while the home URL points to the website
 root.

 Follow-up to [59890].

 Props timse201, mukesh27.
 Fixes #64580.
 }}}

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


More information about the wp-trac mailing list