[wp-trac] [WordPress Trac] #43557: Remove wp-admin/admin-ajax.php from robots.txt - sure give ppl the ability to add it, remove the default

WordPress Trac noreply at wordpress.org
Tue Dec 1 05:35:43 UTC 2020


#43557: Remove wp-admin/admin-ajax.php from robots.txt - sure give ppl the ability
to add it, remove the default
-------------------------------+-------------------------
 Reporter:  phuquocgreentours  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  General            |     Version:  4.9.4
 Severity:  normal             |  Resolution:  maybelater
 Keywords:                     |     Focuses:
-------------------------------+-------------------------
Changes (by noisysocks):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 Hi @phuquocgreentours. The default is to have `Allow: /wp-admin/admin-
 ajax.php` as this is best for the majority of sites. You can use the
 `robots_txt` filter to change this.

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


More information about the wp-trac mailing list